You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: internal/cli/kraft/cloud/instance/stop/stop.go
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -24,8 +24,8 @@ import (
24
24
typeStopOptionsstruct {
25
25
Auth*config.AuthConfig`noattribute:"true"`
26
26
Client kraftcloud.KraftCloud`noattribute:"true"`
27
-
Wait time.Duration`local:"true" long:"wait" short:"w" usage:"Time to wait for the instance to drain all connections before it is stopped (ms/s/m/h)"`
28
-
DrainTimeout time.Duration`local:"true" long:"drain-timeout" short:"d" usage:"Timeout for the instance to stop (ms/s/m/h)"`
27
+
Wait time.Duration`local:"true" long:"wait" short:"w" usage:"Timeout for the instance to stop (ms/s/m/h)"`
28
+
DrainTimeout time.Duration`local:"true" long:"drain-timeout" short:"d" usage:"Time to wait for the instance to drain all connections before it is stopped (ms/s/m/h)"`
29
29
Allbool`long:"all" short:"a" usage:"Stop all instances"`
30
30
Forcebool`long:"force" short:"f" usage:"Force stop the instance(s)"`
0 commit comments