mirror of https://github.com/kubernetes/kops.git
create.go: add --name to kops update cluster command
This commit is contained in:
parent
11acc49b13
commit
44500b5b8d
|
|
@ -226,7 +226,7 @@ func RunCreate(ctx context.Context, f *util.Factory, out io.Writer, c *CreateOpt
|
||||||
// so let's advise the user how to engage the cloud provider and deploy
|
// so let's advise the user how to engage the cloud provider and deploy
|
||||||
if sb.String() != "" {
|
if sb.String() != "" {
|
||||||
fmt.Fprintf(&sb, "\n")
|
fmt.Fprintf(&sb, "\n")
|
||||||
fmt.Fprintf(&sb, "To deploy these resources, run: kops update cluster %s --yes\n", clusterName)
|
fmt.Fprintf(&sb, "To deploy these resources, run: kops update cluster --name %s --yes\n", clusterName)
|
||||||
fmt.Fprintf(&sb, "\n")
|
fmt.Fprintf(&sb, "\n")
|
||||||
}
|
}
|
||||||
_, err := out.Write(sb.Bytes())
|
_, err := out.Write(sb.Bytes())
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue