Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
hqhqhqhqhqhqhqhqhqhqhq committed Dec 2, 2024
1 parent 21c5107 commit 5514082
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions internal/services/containers/kubernetes_cluster_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -4626,6 +4626,9 @@ func expandKubernetesClusterUpgradeOverrideSetting(input []interface{}) *managed
if len(input) == 0 || input[0] == nil {
return &managedclusters.ClusterUpgradeSettings{
OverrideSettings: &managedclusters.UpgradeOverrideSettings{
// The forceUpgrade field controls the overrideUpgradeSetting feature.
// If overrideUpgradeSetting is not specified, set forceUpgrade to false to disable the feature.
// Not passing this field to the API will not disable the feature.
ForceUpgrade: pointer.To(false),
},
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -959,8 +959,7 @@ func (KubernetesClusterResource) upgradeOverrideSetting(data acceptance.TestData
upgradeOverrideSetting = fmt.Sprintf(`
upgrade_override {
effective_until = "%s"
}`, time.Now().Add(8*time.Minute).Format(time.RFC3339))

}`, time.Now().UTC().Add(8*time.Minute).Format(time.RFC3339))
}

return fmt.Sprintf(`
Expand Down

0 comments on commit 5514082

Please sign in to comment.