Skip to content

Commit

Permalink
Merge pull request #3607): Added PKE node pool name validation
Browse files Browse the repository at this point in the history
  • Loading branch information
akijakya authored Feb 1, 2022
2 parents 2f6d242 + 9c6eda3 commit 017eea2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cluster/ec2_pke.go
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,9 @@ func (c *EC2ClusterPKE) ValidateCreationFields(r *pkgCluster.CreateClusterReques
if err := common.ValidateNodePoolLabels(np.Name, np.Labels); err != nil {
return err
}
if err := common.ValidateNodePoolName(np.Name); err != nil {
return err
}
}

return nil
Expand Down

0 comments on commit 017eea2

Please sign in to comment.