Skip to content

Commit

Permalink
docs(instance): add deprecation notice for PolicyRespected in `Plac…
Browse files Browse the repository at this point in the history
…ementGroup` (#2394)
  • Loading branch information
scaleway-bot authored Jan 28, 2025
1 parent 57427ee commit ad2f1fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/instance/v1/instance_sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -1367,7 +1367,8 @@ type PlacementGroup struct {
// Default value: max_availability
PolicyType PlacementGroupPolicyType `json:"policy_type"`

// PolicyRespected: returns true if the policy is respected, false otherwise.
// PolicyRespected: in the server endpoints the value is always false as it is deprecated.
// In the placement group endpoints the value is correct.
PolicyRespected bool `json:"policy_respected"`

// Zone: zone in which the placement group is located.
Expand Down

0 comments on commit ad2f1fb

Please sign in to comment.