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
@@ -94,12 +94,15 @@ var attachRuntimeCmd = &cobra.Command{
94
94
95
95
varerrerror
96
96
values:=s.BuildValues()
97
+
spn:=createSpinner("Attaching runtime to agent (might take a few seconds)", "")
98
+
spn.Start()
97
99
for_, p:=rangebuilder.Get() {
98
100
values, err=p.Install(builderInstallOpt, values)
99
101
iferr!=nil {
100
102
dieOnError(err)
101
103
}
102
104
}
105
+
spn.Stop()
103
106
lgr.Info("Attach to runtime completed Successfully")
104
107
105
108
},
@@ -121,5 +124,4 @@ func init() {
121
124
attachRuntimeCmd.Flags().StringVar(&attachRuntimeCmdOptions.kubeVenona.kubePath, "kube-config-path-agent", viper.GetString("kubeconfig-agent"), "Path to kubeconfig file (default is $HOME/.kube/config) for agent [$KUBECONFIG]")
122
125
attachRuntimeCmd.Flags().BoolVar(&attachRuntimeCmdOptions.restartAgent, "restart-agent", viper.GetBool("restart-agent"), "Restart agent after attach operation")
0 commit comments