From d392f5c22aa6688352f1ea5aab04b6c1fed7dd87 Mon Sep 17 00:00:00 2001 From: Christian Huffman Date: Fri, 24 Jul 2020 10:29:23 -0400 Subject: [PATCH] Adjusted the date printing to address unit test failure --- pkg/snapshotter/snapshotter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/snapshotter/snapshotter.go b/pkg/snapshotter/snapshotter.go index 379b6c00..b50a38bb 100644 --- a/pkg/snapshotter/snapshotter.go +++ b/pkg/snapshotter/snapshotter.go @@ -73,7 +73,7 @@ func (s *snapshot) CreateSnapshot(ctx context.Context, snapshotName string, volu return "", "", time.Time{}, 0, false, err } - klog.V(5).Infof("CSI CreateSnapshot: %s driver name [%s] snapshot ID [%s] time stamp [%d] size [%d] readyToUse [%v]", snapshotName, driverName, rsp.Snapshot.SnapshotId, rsp.Snapshot.CreationTime, rsp.Snapshot.SizeBytes, rsp.Snapshot.ReadyToUse) + klog.V(5).Infof("CSI CreateSnapshot: %s driver name [%s] snapshot ID [%s] time stamp [%v] size [%d] readyToUse [%v]", snapshotName, driverName, rsp.Snapshot.SnapshotId, rsp.Snapshot.CreationTime, rsp.Snapshot.SizeBytes, rsp.Snapshot.ReadyToUse) creationTime, err := ptypes.Timestamp(rsp.Snapshot.CreationTime) if err != nil { return "", "", time.Time{}, 0, false, err