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

Commit

Permalink
adding reminding to update cmd/upgrade.go to handle containerd window…
Browse files Browse the repository at this point in the history
…s VHD
  • Loading branch information
marosset committed Dec 18, 2020
1 parent 5609cf4 commit b43cdb1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ func (uc *upgradeCmd) loadCluster() error {

// Use the Windows VHD associated with the aks-engine version if upgradeWindowsVHD is set to "true"
if uc.upgradeWindowsVHD && uc.containerService.Properties.WindowsProfile != nil {
// TODO: add logic for containerd windows sku
windowsProfile := uc.containerService.Properties.WindowsProfile
if windowsProfile.WindowsPublisher == api.AKSWindowsServer2019OSImageConfig.ImagePublisher && windowsProfile.WindowsOffer == api.AKSWindowsServer2019OSImageConfig.ImageOffer {
windowsProfile.ImageVersion = api.AKSWindowsServer2019OSImageConfig.ImageVersion
Expand Down

0 comments on commit b43cdb1

Please sign in to comment.