Skip to content

Commit 49bf689

Browse files
authored
Fix Repository CRDs print column (#1046)
* Fix Repository CRDs printcolum Signed-off-by: hossainemruz <emruz@appscode.com> * Run make gen fmt Signed-off-by: hossainemruz <emruz@appscode.com>
1 parent feb204b commit 49bf689

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

api/crds/bindata.go

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

api/crds/stash.appscode.com_repositories.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ spec:
1010
- JSONPath: .status.integrity
1111
name: Integrity
1212
type: boolean
13-
- JSONPath: .status.size
13+
- JSONPath: .status.totalSize
1414
name: Size
1515
type: string
1616
- JSONPath: .status.snapshotCount

apis/stash/v1alpha1/generated.proto

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/stash/v1alpha1/repository_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const (
3535
// +kubebuilder:resource:path=repositories,singular=repository,shortName=repo,categories={stash,appscode}
3636
// +kubebuilder:subresource:status
3737
// +kubebuilder:printcolumn:name="Integrity",type="boolean",JSONPath=".status.integrity"
38-
// +kubebuilder:printcolumn:name="Size",type="string",JSONPath=".status.size"
38+
// +kubebuilder:printcolumn:name="Size",type="string",JSONPath=".status.totalSize"
3939
// +kubebuilder:printcolumn:name="Snapshot-Count",type="integer",JSONPath=".status.snapshotCount"
4040
// +kubebuilder:printcolumn:name="Last-Successful-Backup",type="date",format="date-time",JSONPath=".status.lastBackupTime"
4141
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

0 commit comments

Comments
 (0)