Skip to content

Commit

Permalink
bugfix: fix a crash when reading/setting upgrade_settings
Browse files Browse the repository at this point in the history
  • Loading branch information
manicminer committed May 31, 2024
1 parent 838c90a commit c0280e5
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 c0280e5

Please sign in to comment.