Skip to content

Commit

Permalink
fix: make the failedResourcePlacements json consistent with field name
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhiying Lin committed Nov 22, 2023
1 parent 6cf8fdf commit 1a9971d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apis/placement/v1beta1/clusterresourceplacement_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ type ResourcePlacementStatus struct {
// Note that we only include 100 failed resource placements even if there are more than 100.
// This field is only meaningful if the `ClusterName` is not empty.
// +optional
FailedResourcePlacements []FailedResourcePlacement `json:"failedPlacements,omitempty"`
FailedResourcePlacements []FailedResourcePlacement `json:"failedResourcePlacements,omitempty"`

// Conditions is an array of current observed conditions for ResourcePlacementStatus.
// +optional
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ spec:
- type
type: object
type: array
failedPlacements:
failedResourcePlacements:
description: FailedResourcePlacements is a list of all the resources
failed to be placed to the given cluster. Note that we only
include 100 failed resource placements even if there are more
Expand Down

0 comments on commit 1a9971d

Please sign in to comment.