Update Info() behavior
This commit is contained in:
parent
72d95f58ea
commit
196555e897
4 changed files with 36 additions and 28 deletions
|
|
@ -174,12 +174,12 @@ func (dis *Distillery) Snapshot(instance instances.WissKI, io stream.IOStream, d
|
|||
|
||||
// do the create keeping track of time!
|
||||
logging.LogOperation(func() error {
|
||||
snapshot.StartTime = time.Now()
|
||||
snapshot.StartTime = time.Now().UTC()
|
||||
|
||||
snapshot.makeBlackbox(io, dis, instance)
|
||||
snapshot.makeWhitebox(io, dis, instance)
|
||||
|
||||
snapshot.EndTime = time.Now()
|
||||
snapshot.EndTime = time.Now().UTC()
|
||||
return nil
|
||||
}, io, "Writing snapshot files")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue