Skip to content

Commit

Permalink
fixes #470: call to /configurations endpoint not checked (#471)
Browse files Browse the repository at this point in the history
Fixes #470.
Missing check on the `/configurations` endpoint.

Signed-off-by: Nasseredine Bajwa <fr.bajwa.nasseredine@gmail.com>
  • Loading branch information
nasseredine authored Oct 11, 2024
1 parent 33fc049 commit a82baa2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ func expandCveAllowList(cveAllowlist []interface{}) models.CveAllowlistItems {

func (client *Client) UpdateStorageQuota(d *schema.ResourceData) (err error) {
resp, _, _, err := client.SendRequest("GET", models.PathConfig, nil, 200)
if err != nil {
return err
}

var jsonData models.ConfigBodyResponse
err = json.Unmarshal([]byte(resp), &jsonData)
Expand Down

0 comments on commit a82baa2

Please sign in to comment.