mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 14:20:19 +00:00
pkg/rbd/controllerserver.go: gofmt
This commit is contained in:
parent
d9fbdeb517
commit
23a4126aed
@ -234,10 +234,10 @@ func (cs *controllerServer) CreateSnapshot(ctx context.Context, req *csi.CreateS
|
|||||||
SizeBytes: exSnap.SizeBytes,
|
SizeBytes: exSnap.SizeBytes,
|
||||||
SnapshotId: exSnap.SnapID,
|
SnapshotId: exSnap.SnapID,
|
||||||
SourceVolumeId: exSnap.SourceVolumeID,
|
SourceVolumeId: exSnap.SourceVolumeID,
|
||||||
CreationTime: ×tamp.Timestamp{
|
CreationTime: ×tamp.Timestamp{
|
||||||
Seconds: exSnap.CreatedAt,
|
Seconds: exSnap.CreatedAt,
|
||||||
},
|
},
|
||||||
ReadyToUse: true,
|
ReadyToUse: true,
|
||||||
},
|
},
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
@ -325,10 +325,10 @@ func (cs *controllerServer) CreateSnapshot(ctx context.Context, req *csi.CreateS
|
|||||||
SizeBytes: rbdSnap.SizeBytes,
|
SizeBytes: rbdSnap.SizeBytes,
|
||||||
SnapshotId: snapshotID,
|
SnapshotId: snapshotID,
|
||||||
SourceVolumeId: req.GetSourceVolumeId(),
|
SourceVolumeId: req.GetSourceVolumeId(),
|
||||||
CreationTime: ×tamp.Timestamp{
|
CreationTime: ×tamp.Timestamp{
|
||||||
Seconds: rbdSnap.CreatedAt,
|
Seconds: rbdSnap.CreatedAt,
|
||||||
},
|
},
|
||||||
ReadyToUse: true,
|
ReadyToUse: true,
|
||||||
},
|
},
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
@ -398,10 +398,10 @@ func (cs *controllerServer) ListSnapshots(ctx context.Context, req *csi.ListSnap
|
|||||||
SizeBytes: rbdSnap.SizeBytes,
|
SizeBytes: rbdSnap.SizeBytes,
|
||||||
SnapshotId: rbdSnap.SnapID,
|
SnapshotId: rbdSnap.SnapID,
|
||||||
SourceVolumeId: rbdSnap.SourceVolumeID,
|
SourceVolumeId: rbdSnap.SourceVolumeID,
|
||||||
CreationTime: ×tamp.Timestamp{
|
CreationTime: ×tamp.Timestamp{
|
||||||
Seconds: rbdSnap.CreatedAt,
|
Seconds: rbdSnap.CreatedAt,
|
||||||
},
|
},
|
||||||
ReadyToUse: true,
|
ReadyToUse: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -422,10 +422,10 @@ func (cs *controllerServer) ListSnapshots(ctx context.Context, req *csi.ListSnap
|
|||||||
SizeBytes: rbdSnap.SizeBytes,
|
SizeBytes: rbdSnap.SizeBytes,
|
||||||
SnapshotId: rbdSnap.SnapID,
|
SnapshotId: rbdSnap.SnapID,
|
||||||
SourceVolumeId: rbdSnap.SourceVolumeID,
|
SourceVolumeId: rbdSnap.SourceVolumeID,
|
||||||
CreationTime: ×tamp.Timestamp{
|
CreationTime: ×tamp.Timestamp{
|
||||||
Seconds: rbdSnap.CreatedAt,
|
Seconds: rbdSnap.CreatedAt,
|
||||||
},
|
},
|
||||||
ReadyToUse: true,
|
ReadyToUse: true,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user