Skip to content

Commit

Permalink
Merge pull request #26173 from hashicorp/bugfix/kubernetes-cluster-da…
Browse files Browse the repository at this point in the history
…ta-source-upgrade-settings-crash

`data.azurerm_kubernetes_cluster`: fix a crash when reading/setting `upgrade_settings`
  • Loading branch information
manicminer authored May 31, 2024
2 parents 838c90a + c0280e5 commit 2dd1978
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1479,7 +1479,7 @@ func flattenKubernetesClusterDataSourceUpgradeSettings(input *managedclusters.Ag
values["drain_timeout_in_minutes"] = *input.DrainTimeoutInMinutes
}

if input.DrainTimeoutInMinutes != nil {
if input.NodeSoakDurationInMinutes != nil {
values["node_soak_duration_in_minutes"] = *input.NodeSoakDurationInMinutes
}

Expand Down

0 comments on commit 2dd1978

Please sign in to comment.