Skip to content

Commit 0d36563

Browse files
committed
staged command: remove the unused "DATE" column
This column was always set to 'UNKNOWN', and I was not able to find where the creation timestamp of a given folder in the bucket is, so removing this column makes sense. Signed-off-by: Maël Valais <[email protected]>
1 parent 51d3153 commit 0d36563

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/cmrel/cmd/staged.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,11 @@ func runStaged(_ *rootOptions, o *stagedOptions) error {
169169
return fmt.Errorf("failed listing staged releases: %w", err)
170170
}
171171

172-
lines := []string{"NAME\tVERSION\tDATE"}
172+
lines := []string{"NAME\tVERSION"}
173173
sort.Sort(ByVersion(stagedReleases))
174174
for _, rel := range stagedReleases {
175175
vers := rel.Metadata().ReleaseVersion
176-
lines = append(lines, fmt.Sprintf("%s\t%s\tUNKNOWN", rel.Name(), vers))
176+
lines = append(lines, fmt.Sprintf("%s\t%s", rel.Name(), vers))
177177
}
178178

179179
logTable(lines...)

0 commit comments

Comments
 (0)