Skip to content

Commit

Permalink
removed app unique params from import
Browse files Browse the repository at this point in the history
  • Loading branch information
numcys committed Jul 30, 2024
1 parent d9ee34d commit 78c6cdd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pkg/cli/apps.go
Original file line number Diff line number Diff line change
Expand Up @@ -576,10 +576,16 @@ func appImport(rack sdk.Interface, c *stdcli.Context, app string, r io.Reader) e

change := false

// Remove app unique parameters from being copied over
uniqueParams := []string{"Rack","LogBucket","ResourcePassword"}

for _,val := range uniqueParams{
delete(a.Parameters, val);
}

for k, v := range a.Parameters {
if v != ae.Parameters[k] {
change = true
break
}
}

Expand Down

0 comments on commit 78c6cdd

Please sign in to comment.