Skip to content

Commit 698f008

Browse files
committed
update the api comment
Signed-off-by: Zhiying Lin <[email protected]>
1 parent a1e7eca commit 698f008

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

apis/placement/v1/resourcesnapshot_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ import (
5353
// - `SubindexOfResourceSnapshotAnnotation` to store the subindex of resource snapshot in the group.
5454
//
5555
// Snapshot may have the following annotations to indicate the time of next resourceSnapshot candidate detected by the controller:
56-
// - `NextResourceSnapshotCandidateDetectionTime` to store the time of next resourceSnapshot candidate detected by the controller.
56+
// - `NextResourceSnapshotCandidateDetectionTimeAnnotation` to store the time of next resourceSnapshot candidate detected by the controller.
5757
type ClusterResourceSnapshot struct {
5858
metav1.TypeMeta `json:",inline"`
5959
metav1.ObjectMeta `json:"metadata,omitempty"`

apis/placement/v1beta1/resourcesnapshot_types.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ type ResourceSnapshotObjList interface {
122122
//
123123
// Each snapshot (excluding the first snapshot) MUST have the following annotations:
124124
// - `SubindexOfResourceSnapshotAnnotation` to store the subindex of resource snapshot in the group.
125+
//
126+
// Snapshot may have the following annotations to indicate the time of next resourceSnapshot candidate detected by the controller:
127+
// - `NextResourceSnapshotCandidateDetectionTimeAnnotation` to store the time of next resourceSnapshot candidate detected by the controller.
125128
type ClusterResourceSnapshot struct {
126129
metav1.TypeMeta `json:",inline"`
127130
metav1.ObjectMeta `json:"metadata,omitempty"`

0 commit comments

Comments
 (0)