Update server/etcdserver/api/v3rpc/maintenance.go

Co-authored-by: Marek Siarkowicz <marek.siarkowicz@protonmail.com>
This commit is contained in:
Donal Hunt 2022-04-08 18:45:13 +01:00 committed by GitHub
parent 6e1afa9677
commit d659403955
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -184,7 +184,7 @@ func (ms *maintenanceServer) Snapshot(sr *pb.SnapshotRequest, srv pb.Maintenance
ms.lg.Info("successfully sent database snapshot to client",
zap.Int64("total-bytes", total),
zap.String("size", size),
zap.String("took", time.Since(start).String()),
zap.Duration("took", time.Since(start)),
zap.String("storage-version", storageVersion),
)
return nil