Skip to content

Commit

Permalink
removed brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
sol-dev-abhi committed Aug 9, 2023
1 parent 4861a48 commit fc53ae0
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions capten/agent/pkg/capten-store/app_config_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,16 +130,13 @@ func formUpdateKvPairs(config *agentpb.SyncAppData) (string, bool) {
fmt.Sprintf("%s = '%s'", launchUiValues, string(config.Values.LaunchUIValues)))
}

{

if config.Config.CreateNamespace {
params = append(params,
fmt.Sprintf("%s = true", createNamespace))
}
if config.Config.PrivilegedNamespace {
params = append(params,
fmt.Sprintf("%s = true", privilegedNamespace))
}
if config.Config.CreateNamespace {
params = append(params,
fmt.Sprintf("%s = true", createNamespace))
}
if config.Config.PrivilegedNamespace {
params = append(params,
fmt.Sprintf("%s = true", privilegedNamespace))
}

if config.Config.LaunchURL != "" {
Expand Down

0 comments on commit fc53ae0

Please sign in to comment.