From 23a4126aed7c31e861214203ac85d66d924d9f48 Mon Sep 17 00:00:00 2001 From: Mike Cronce Date: Tue, 4 Dec 2018 21:44:04 -0500 Subject: [PATCH] pkg/rbd/controllerserver.go: gofmt --- pkg/rbd/controllerserver.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkg/rbd/controllerserver.go b/pkg/rbd/controllerserver.go index 976f3fdb6..03cdab1b4 100644 --- a/pkg/rbd/controllerserver.go +++ b/pkg/rbd/controllerserver.go @@ -234,10 +234,10 @@ func (cs *controllerServer) CreateSnapshot(ctx context.Context, req *csi.CreateS SizeBytes: exSnap.SizeBytes, SnapshotId: exSnap.SnapID, SourceVolumeId: exSnap.SourceVolumeID, - CreationTime: ×tamp.Timestamp{ + CreationTime: ×tamp.Timestamp{ Seconds: exSnap.CreatedAt, }, - ReadyToUse: true, + ReadyToUse: true, }, }, nil } @@ -325,10 +325,10 @@ func (cs *controllerServer) CreateSnapshot(ctx context.Context, req *csi.CreateS SizeBytes: rbdSnap.SizeBytes, SnapshotId: snapshotID, SourceVolumeId: req.GetSourceVolumeId(), - CreationTime: ×tamp.Timestamp{ + CreationTime: ×tamp.Timestamp{ Seconds: rbdSnap.CreatedAt, }, - ReadyToUse: true, + ReadyToUse: true, }, }, nil } @@ -398,10 +398,10 @@ func (cs *controllerServer) ListSnapshots(ctx context.Context, req *csi.ListSnap SizeBytes: rbdSnap.SizeBytes, SnapshotId: rbdSnap.SnapID, SourceVolumeId: rbdSnap.SourceVolumeID, - CreationTime: ×tamp.Timestamp{ + CreationTime: ×tamp.Timestamp{ Seconds: rbdSnap.CreatedAt, }, - ReadyToUse: true, + ReadyToUse: true, }, }, }, @@ -422,10 +422,10 @@ func (cs *controllerServer) ListSnapshots(ctx context.Context, req *csi.ListSnap SizeBytes: rbdSnap.SizeBytes, SnapshotId: rbdSnap.SnapID, SourceVolumeId: rbdSnap.SourceVolumeID, - CreationTime: ×tamp.Timestamp{ + CreationTime: ×tamp.Timestamp{ Seconds: rbdSnap.CreatedAt, }, - ReadyToUse: true, + ReadyToUse: true, }, }) }