Skip to content

Commit c0826d5

Browse files
committed
[ws-manager-api] Fix descriptions
1 parent 69b3077 commit c0826d5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

components/ws-manager-api/go/crd/v1/snapshot_types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
99
)
1010

11-
// WorkspaceSpec defines the desired state of Workspace
11+
// SnapshotSpec defines the desired state of the snapshot
1212
type SnapshotSpec struct {
1313
// +kubebuilder:validation:Required
1414
NodeName string `json:"nodeName"`
@@ -17,7 +17,7 @@ type SnapshotSpec struct {
1717
WorkspaceID string `json:"workspaceID"`
1818
}
1919

20-
// WorkspaceStatus defines the observed state of Workspace
20+
// SnapshotStatus defines the observed state of the snapshot
2121
type SnapshotStatus struct {
2222
// // +kubebuilder:validation:Optional
2323
// Conditions []metav1.Condition `json:"conditions"`

components/ws-manager-mk2/config/crd/bases/workspace.gitpod.io_snapshots.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ spec:
5050
metadata:
5151
type: object
5252
spec:
53-
description: WorkspaceSpec defines the desired state of Workspace
53+
description: SnapshotSpec defines the desired state of the snapshot
5454
properties:
5555
nodeName:
5656
type: string
@@ -61,7 +61,7 @@ spec:
6161
- workspaceID
6262
type: object
6363
status:
64-
description: WorkspaceStatus defines the observed state of Workspace
64+
description: SnapshotStatus defines the observed state of the snapshot
6565
properties:
6666
completed:
6767
description: Completed indicates if the snapshot operation has completed

0 commit comments

Comments
 (0)