Skip to content

Commit 6100006

Browse files
committed
🐛 Fix --waiting-window CLI error
An error preventing a custom waiting window value to be provided via CLI is now fixed. Signed-off-by: Elis Lulja <[email protected]>
1 parent 074ef8d commit 6100006

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/command/run.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,12 @@ type Options struct {
5656

5757
func getRunCommand() *cobra.Command {
5858
kopts := &kubeConfigOptions{}
59+
waitingWindow := sdwan.DefaultWaitingWindow
5960
flagOpts := &Options{
6061
ServiceEntryController: &controllers.ServiceEntryOptions{},
6162
Sdwan: &sdwan.Options{
6263
Authentication: &sdwan.Authentication{},
64+
WaitingWindow: &waitingWindow,
6365
},
6466
}
6567
opts := &Options{
@@ -68,6 +70,7 @@ func getRunCommand() *cobra.Command {
6870
// sensitive information.
6971
Sdwan: &sdwan.Options{
7072
Authentication: &sdwan.Authentication{},
73+
WaitingWindow: &waitingWindow,
7174
},
7275
}
7376
var (

0 commit comments

Comments
 (0)