Skip to content

Commit

Permalink
Do not set ngFilter.SkipAll, as withoutNodeGroup is only used in …
Browse files Browse the repository at this point in the history
…`doCreateCluster`
  • Loading branch information
errordeveloper committed Mar 28, 2019
1 parent d116324 commit 6e1fa70
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/ctl/create/nodegroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ func createNodeGroupCmd(g *cmdutils.Grouping) *cobra.Command {

func doCreateNodeGroups(p *api.ProviderConfig, cfg *api.ClusterConfig, nameArg string, cmd *cobra.Command) error {
ngFilter := cmdutils.NewNodeGroupFilter()
ngFilter.SkipAll = withoutNodeGroup

if err := cmdutils.NewCreateNodeGroupLoader(p, cfg, clusterConfigFile, nameArg, cmd, ngFilter, nodeGroupOnlyFilters).Load(); err != nil {
return err
Expand Down

0 comments on commit 6e1fa70

Please sign in to comment.