Skip to content

Commit ad2f1fb

Browse files
authored
docs(instance): add deprecation notice for PolicyRespected in PlacementGroup (scaleway#2394)
1 parent 57427ee commit ad2f1fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

api/instance/v1/instance_sdk.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1367,7 +1367,8 @@ type PlacementGroup struct {
13671367
// Default value: max_availability
13681368
PolicyType PlacementGroupPolicyType `json:"policy_type"`
13691369

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

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

0 commit comments

Comments
 (0)