Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
teowa committed Jan 10, 2024
1 parent f825ece commit 226d0ec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ func flattenMaintenanceConfigurationInstallPatches(input *maintenanceconfigurati

if rebootSetting := v.RebootSetting; rebootSetting != nil {
// https://github.com/Azure/azure-rest-api-specs/issues/27222
if strings.EqualFold(*rebootSetting, "AlwaysReboot") {
if strings.EqualFold(string(*rebootSetting), "AlwaysReboot") {
output["reboot"] = "Always"
} else {
output["reboot"] = *rebootSetting
Expand Down

0 comments on commit 226d0ec

Please sign in to comment.