Use CreationName in CSIVolumeSnapshotSource in controller

This commit is contained in:
Xing Yang
2018-08-19 10:22:05 -07:00
parent db9e97500e
commit fb866ef23a

View File

@@ -510,7 +510,7 @@ func (ctrl *csiSnapshotController) createSnapshotOperation(snapshot *crdv1.Volum
CSI: &crdv1.CSIVolumeSnapshotSource{
Driver: driverName,
SnapshotHandle: snapshotID,
CreatedAt: timestamp,
CreationTime: &timestamp,
},
},
VolumeSnapshotClassName: class.Name,