Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
Merge AADProfile during update (#3147)
Browse files Browse the repository at this point in the history
  • Loading branch information
amanohar authored and jackfrancis committed Jun 1, 2018
1 parent d9bd63b commit 3186ec0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/api/agentPoolOnlyApi/v20180331/merge.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,9 @@ func (mc *ManagedCluster) Merge(emc *ManagedCluster) error {
// For update scenario, the default behavior is to use existing behavior
mc.Properties.NetworkProfile = emc.Properties.NetworkProfile
}
if mc.Properties.AADProfile == nil {
// For update scenario, the default behavior is to use existing behavior
mc.Properties.AADProfile = emc.Properties.AADProfile
}
return nil
}

0 comments on commit 3186ec0

Please sign in to comment.