Skip to content

Commit

Permalink
The server doesn't send back a block if this value is false - assume …
Browse files Browse the repository at this point in the history
…false if nil. (#3756)
  • Loading branch information
nat-henderson authored Jul 20, 2020
1 parent ce8e493 commit 0d203da
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3326,7 +3326,11 @@ func flattenMasterAuthorizedNetworksConfig(c *containerBeta.MasterAuthorizedNetw
<% unless version == 'ga' -%>
func flattenPodSecurityPolicyConfig(c *containerBeta.PodSecurityPolicyConfig) []map[string]interface{} {
if c == nil {
return nil
return []map[string]interface{}{
{
"enabled": false,
},
}
}
return []map[string]interface{}{
{
Expand Down

0 comments on commit 0d203da

Please sign in to comment.