Skip to content

Commit

Permalink
adding delay and delayBefore setting completion for use in c8y settin…
Browse files Browse the repository at this point in the history
…gs update
  • Loading branch information
reubenmiller committed Apr 13, 2021
1 parent 05808e1 commit 5615e82
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions pkg/cmd/settings/update/update.manual.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,27 @@ var updateSettingsOptions = map[string]argumentHandler{
"5",
}, nil, cobra.ShellCompDirectiveNoFileComp},

// delay
"defaults.delay": {"defaults.delay", "int", "settings.defaults.delay", []string{
"0",
"50",
"100",
"250",
"500",
"1000",
"2000",
}, nil, cobra.ShellCompDirectiveNoFileComp},

// delayBefore
"defaults.delayBefore": {"defaults.delayBefore", "int", "settings.defaults.delayBefore", []string{
"0",
"500",
"1000",
"2000",
"5000",
"10000",
}, nil, cobra.ShellCompDirectiveNoFileComp},

// abortOnErrors
"defaults.abortOnErrors": {"defaults.abortOnErrors", "int", "settings.defaults.abortOnErrors", []string{
"1",
Expand Down

0 comments on commit 5615e82

Please sign in to comment.