Skip to content
This repository has been archived by the owner on Oct 29, 2023. It is now read-only.

Commit

Permalink
Improve output of sandboxes --full-info
Browse files Browse the repository at this point in the history
  • Loading branch information
datacharmer committed Jul 26, 2020
1 parent 6f044b1 commit da64a10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmd/sandboxes.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ func showSandboxes(cmd *cobra.Command, args []string) {
&simpletable.Cell{Align: simpletable.AlignCenter, Text: "locked"},
)
}
if byDate || latest || oldest {
if byDate || latest || oldest || useFullInfo {
table.Header.Cells = append(table.Header.Cells,
&simpletable.Cell{Align: simpletable.AlignCenter, Text: "created"})
}
Expand Down Expand Up @@ -238,7 +238,7 @@ func showSandboxes(cmd *cobra.Command, args []string) {
cells = append(cells, &simpletable.Cell{Align: simpletable.AlignRight, Text: fmt.Sprintf("%d", sb.SandboxDesc.Nodes)})
cells = append(cells, &simpletable.Cell{Text: isLocked})
}
if byDate || latest || oldest {
if byDate || latest || oldest || useFullInfo {
timestamp, _ := dateparse.ParseStrict(sb.SandboxDesc.Timestamp)
//fmt.Printf("%s", timestamp.Format(time.RFC3339))
//cells = append(cells, &simpletable.Cell{Text: sb.SandboxDesc.Timestamp})
Expand Down
2 changes: 1 addition & 1 deletion downloads/tarball_registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
package downloads

// This file was generated during build. Do not edit.
// Build time: Sun Jul 26 09:20:32 CEST 2020
// Build time: Sun Jul 26 12:23:05 CEST 2020

var DefaultTarballRegistry = TarballCollection{
// Version of dbdeployer when the list was last updated
Expand Down

0 comments on commit da64a10

Please sign in to comment.