Skip to content

Commit

Permalink
fix agent pool profiles on managedcluster create
Browse files Browse the repository at this point in the history
  • Loading branch information
nojnhuh committed Oct 11, 2023
1 parent 051b4e5 commit 4d41a2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions azure/services/managedclusters/spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,7 @@ func (s *ManagedClusterSpec) Parameters(ctx context.Context, existing *asocontai
return nil, errors.Wrapf(err, "failed to get agent pool specs for managed cluster %s", s.Name)
}

spec.AgentPoolProfiles = nil
for _, spec := range agentPoolSpecs {
agentPool, err := spec.Parameters(ctx, nil)
if err != nil {
Expand Down

0 comments on commit 4d41a2b

Please sign in to comment.