This commit is contained in:
Kris Nova 2017-02-21 13:56:18 -07:00
parent 52ba8e82c1
commit 965dd3f987
4 changed files with 2 additions and 4 deletions

View File

@ -158,7 +158,6 @@ func NewCmdCreateCluster(f *util.Factory, out io.Writer) *cobra.Command {
cmd.Flags().StringSliceVar(&options.AdminAccess, "admin-access", options.AdminAccess, "Restrict access to admin endpoints (SSH, HTTPS) to this CIDR. If not set, access will not be restricted by IP.")
// TODO: Can we deprecate this flag - it is awkward?
// @kris-nova: Yes. Yes.
cmd.Flags().BoolVar(&associatePublicIP, "associate-public-ip", false, "Specify --associate-public-ip=[true|false] to enable/disable association of public IP for master ASG and nodes. Default is 'true'.")
cmd.Flags().StringSliceVar(&options.NodeSecurityGroups, "node-security-groups", options.NodeSecurityGroups, "Add precreated additional security groups to nodes.")

View File

@ -293,7 +293,6 @@ func runTestCloudformation(t *testing.T, clusterName string, srcDir string, vers
if err != nil {
t.Fatalf("unexpected error reading actual cloudformation output: %v", err)
}
expectedCF, err := ioutil.ReadFile(path.Join(srcDir, expectedCfPath))
if err != nil {
t.Fatalf("unexpected error reading expected cloudformation output: %v", err)