Skip to content

Commit

Permalink
SCALRCORE-19636 > Remove omitempty from cloud creds and policy groups…
Browse files Browse the repository at this point in the history
… in environment [API_BRANCH]
  • Loading branch information
Artem Vang committed Aug 9, 2021
1 parent d46d684 commit 6592648
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ type EnvironmentUpdateOptions struct {
CostEstimationEnabled *bool `jsonapi:"attr,cost-estimation-enabled,omitempty"`

// Relations
CloudCredentials []*CloudCredential `jsonapi:"relation,cloud-credentials,omitempty"`
PolicyGroups []*PolicyGroup `jsonapi:"relation,policy-groups,omitempty"`
CloudCredentials []*CloudCredential `jsonapi:"relation,cloud-credentials"`
PolicyGroups []*PolicyGroup `jsonapi:"relation,policy-groups"`
}

// Update settings of an existing environment.
Expand Down

0 comments on commit 6592648

Please sign in to comment.