Skip to content

Commit

Permalink
🐛 Fix bug in gke networkPolicyConfig (#4149)
Browse files Browse the repository at this point in the history
Fixes the following error message
```
failed to convert dict to primitive, unsupported child type: containerpb.NetworkPolicy_Provider
```
  • Loading branch information
jaym authored May 30, 2024
1 parent 667b280 commit a534e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/gcp/resources/gke.go
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ func (g *mqlGcpProjectGkeService) clusters() ([]interface{}, error) {
if c.NetworkPolicy != nil {
networkPolicyConfig = map[string]interface{}{
"enabled": c.NetworkPolicy.Enabled,
"provider": c.NetworkPolicy.Provider,
"provider": c.NetworkPolicy.Provider.String(),
}
}

Expand Down

0 comments on commit a534e6c

Please sign in to comment.