Skip to content

Commit

Permalink
Update Windows Hotpatch images
Browse files Browse the repository at this point in the history
  • Loading branch information
SourceQuality authored and stephybun committed Jan 23, 2024
1 parent 8927a7f commit 4202f02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/services/compute/shared_schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ func isValidHotPatchSourceImageReference(referenceInput []interface{}, imageId s
offer := raw["offer"].(string)
sku := raw["sku"].(string)

if pub == "MicrosoftWindowsServer" && offer == "WindowsServer" && (sku == "2022-datacenter-azure-edition-core" || sku == "2022-datacenter-azure-edition-core-smalldisk") {
if pub == "MicrosoftWindowsServer" && offer == "WindowsServer" && (sku == "2022-datacenter-azure-edition-core" || sku == "2022-datacenter-azure-edition-core-smalldisk" || sku == "2022-datacenter-azure-edition-hotpatch" || sku == "2022-datacenter-azure-edition-hotpatch-smalldisk") {
return true
}

Expand Down

0 comments on commit 4202f02

Please sign in to comment.