fix(M6): devbox log prints full snapshot id (round-trips to restore)
This commit is contained in:
parent
6d0453d8e3
commit
41bd4d103e
1 changed files with 1 additions and 1 deletions
|
|
@ -280,7 +280,7 @@ func logCmd() *cobra.Command {
|
||||||
out := cmd.OutOrStdout()
|
out := cmd.OutOrStdout()
|
||||||
for _, s := range snaps {
|
for _, s := range snaps {
|
||||||
ts := time.Unix(s.CreatedAt, 0).Format("2006-01-02 15:04:05")
|
ts := time.Unix(s.CreatedAt, 0).Format("2006-01-02 15:04:05")
|
||||||
fmt.Fprintf(out, "%s %s %s\n", short(s.ID), ts, s.Device)
|
fmt.Fprintf(out, "%s %s %s\n", s.ID, ts, s.Device) // full id so it round-trips to restore
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue