Skip to content

Need to set VolumeContentSource if creating volume from snapshot #50

@xing-yang

Description

@xing-yang

In CreateVolume, we should set VolumeContentSource after creating volume from snapshot is successful.

return &csi.CreateVolumeResponse{
	Volume: &csi.Volume{
		VolumeId:      volumeID,
		CapacityBytes: req.GetCapacityRange().GetRequiredBytes(),
		VolumeContext: req.GetParameters(),
	},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions