Skip to content

Commit

Permalink
fix cli typo (ray-project#173)
Browse files Browse the repository at this point in the history
Co-authored-by: wuhua.ck <[email protected]>
  • Loading branch information
chenk008 and wuhua.ck committed Mar 8, 2022
1 parent 232bada commit 8d02895
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cli/pkg/cmd/cluster/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func newCmdCreate() *cobra.Command {
"environment of the cluster (valid values: DEV, TESTING, STAGING, PRODUCTION)")
cmd.Flags().StringVar(&opts.version, "version", "1.9.0", "version of the ray cluster")
cmd.Flags().StringVar(&opts.user, "user", "", "SSO username of ray cluster creator")
cmd.Flags().StringVar(&opts.headComputeTemplate, "head-compute-tempalte", "", "compuate template name for ray head")
cmd.Flags().StringVar(&opts.headComputeTemplate, "head-compute-template", "", "compuate template name for ray head")
cmd.Flags().StringVar(&opts.headImage, "head-image", "", "ray head image")
cmd.Flags().StringVar(&opts.headServiceType, "head-service-type", "ClusterIP", "ray head service type (ClusterIP, NodePort, LoadBalancer)")
cmd.Flags().StringVar(&opts.workerGroupName, "worker-group-name", "", "first worker group name")
Expand All @@ -73,6 +73,9 @@ func newCmdCreate() *cobra.Command {
if err := cmd.MarkFlagRequired("worker-compute-template"); err != nil {
klog.Warning(err)
}
if err := cmd.MarkFlagRequired("worker-group-name"); err != nil {
klog.Warning(err)
}

// handle user from auth and inject it.

Expand Down

0 comments on commit 8d02895

Please sign in to comment.