Skip to content

Commit

Permalink
🐛 Fix --waiting-window CLI error
Browse files Browse the repository at this point in the history
An error preventing a custom waiting window value to be
provided via CLI is now fixed.

Signed-off-by: Elis Lulja <[email protected]>
  • Loading branch information
asimpleidea committed Jun 6, 2022
1 parent 074ef8d commit 6100006
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/command/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,12 @@ type Options struct {

func getRunCommand() *cobra.Command {
kopts := &kubeConfigOptions{}
waitingWindow := sdwan.DefaultWaitingWindow
flagOpts := &Options{
ServiceEntryController: &controllers.ServiceEntryOptions{},
Sdwan: &sdwan.Options{
Authentication: &sdwan.Authentication{},
WaitingWindow: &waitingWindow,
},
}
opts := &Options{
Expand All @@ -68,6 +70,7 @@ func getRunCommand() *cobra.Command {
// sensitive information.
Sdwan: &sdwan.Options{
Authentication: &sdwan.Authentication{},
WaitingWindow: &waitingWindow,
},
}
var (
Expand Down

0 comments on commit 6100006

Please sign in to comment.