Skip to content

Commit

Permalink
Merge pull request #9252 from rifelpet/validation-cleanup
Browse files Browse the repository at this point in the history
Remove redundant ValidateInstanceGroup call
  • Loading branch information
k8s-ci-robot authored Jun 3, 2020
2 parents 751e9ea + 0117881 commit bc876da
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cmd/kops/edit_instancegroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,6 @@ func RunEditInstanceGroup(ctx context.Context, f *util.Factory, cmd *cobra.Comma
return fmt.Errorf("object was not of expected type: %T", newObj)
}

err = validation.ValidateInstanceGroup(newGroup).ToAggregate()
if err != nil {
return err
}

fullGroup, err := cloudup.PopulateInstanceGroupSpec(cluster, newGroup, channel)
if err != nil {
return err
Expand Down

0 comments on commit bc876da

Please sign in to comment.