Skip to content

Commit

Permalink
Fix struct field error
Browse files Browse the repository at this point in the history
I forgot to update the field name when I copy/pasted
  • Loading branch information
Justin Holmes committed Aug 25, 2020
1 parent e4a8f14 commit bb536f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudflare/resource_cloudflare_access_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ func BuildAccessGroupCondition(options map[string]interface{}) []interface{} {
}
} else if accessGroupType == "auth_method" {
if values != "" {
group = append(group, cloudflare.AccessGroupAuthMethod{Group: struct {
group = append(group, cloudflare.AccessGroupAuthMethod{AuthMethod: struct {
AuthMethod string `json:"auth_method"`
}{AuthMethod: values.(string)}})
}
Expand Down

0 comments on commit bb536f9

Please sign in to comment.