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
{{ message }}
This repository was archived by the owner on Aug 30, 2024. It is now read-only.
clog.LogSuccess(fmt.Sprintf("provider %q successfully cordoned - you can no longer create workspaces on this provider without uncordoning first", wpName))
249
+
returnnil
250
+
},
251
+
}
252
+
cmd.Flags().StringVar(&reason, "reason", "", "reason for cordoning the provider")
253
+
_=cmd.MarkFlagRequired("reason")
254
+
returncmd
255
+
}
256
+
257
+
funcunCordonProviderCmd() *cobra.Command {
258
+
cmd:=&cobra.Command{
259
+
Use: "uncordon [workspace_provider_name]",
260
+
Args: xcobra.ExactArgs(1),
261
+
Short: "uncordon a workspace provider.",
262
+
Long: "Set a currently cordoned provider as ready; enabling it to continue provisioning resources for new workspaces.",
263
+
Example: `# uncordon an existing workspace provider by name
0 commit comments