Update Info() behavior

This commit is contained in:
Tom Wiesing 2022-09-26 16:10:25 +02:00
parent 72d95f58ea
commit 196555e897
No known key found for this signature in database
4 changed files with 36 additions and 28 deletions

View file

@ -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")