Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbranham committed Dec 14, 2018
1 parent bff260d commit 85bfa15
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions cmd/kops/create_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -1292,13 +1292,7 @@ func RunCreateCluster(f *util.Factory, out io.Writer, c *CreateClusterOptions) e
fmt.Fprintf(&sb, " * edit your master instance group: kops edit ig --name=%s %s\n", clusterName, masters[0].ObjectMeta.Name)
}
fmt.Fprintf(&sb, "\n")
ok := os.LookupEnv(NAME)
if !ok {
fmt.Fprintf(&sb, "Finally configure your cluster with: kops update cluster --name %s --yes\n", clusterName)
} else {
fmt.Fprintf(&sb, "Finally configure your cluster with: kops update cluster --yes\n")
}
}
fmt.Fprintf(&sb, "Finally configure your cluster with: kops update cluster --name %s --yes\n", clusterName)
fmt.Fprintf(&sb, "\n")

_, err := out.Write(sb.Bytes())
Expand Down

0 comments on commit 85bfa15

Please sign in to comment.