Skip to content

Commit

Permalink
r/security_center_setting: working around a breaking change in the re…
Browse files Browse the repository at this point in the history
…sponse
  • Loading branch information
tombuildsstuff committed Jan 6, 2021
1 parent 0580406 commit 484add5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (SecurityCenterSettingResource) Exists(ctx context.Context, clients *client
return nil, fmt.Errorf("reading Security Center Setting (%s): %+v", id.SettingName, err)
}

return utils.Bool(resp.ID != nil), nil
return utils.Bool(resp.Value != nil), nil
}

func (SecurityCenterSettingResource) cfg(settingName string, enabled bool) string {
Expand Down

0 comments on commit 484add5

Please sign in to comment.