mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 02:33:34 +00:00
cephfs: refactoring for CSI 0.2.0 part 1
This commit is contained in:
@ -41,7 +41,7 @@ type cephfsDriver struct {
|
||||
var (
|
||||
driver *cephfsDriver
|
||||
version = csi.Version{
|
||||
Minor: 1,
|
||||
Minor: 2,
|
||||
}
|
||||
)
|
||||
|
||||
|
@ -75,9 +75,9 @@ func (cs *controllerServer) CreateVolume(ctx context.Context, req *csi.CreateVol
|
||||
glog.V(4).Infof("cephfs: volume created at %s", vol.Root)
|
||||
|
||||
return &csi.CreateVolumeResponse{
|
||||
VolumeInfo: &csi.VolumeInfo{
|
||||
Volume: &csi.Volume{
|
||||
Id: volId.id,
|
||||
CapacityBytes: uint64(volSz),
|
||||
CapacityBytes: volSz,
|
||||
Attributes: vol.makeMap(),
|
||||
},
|
||||
}, nil
|
||||
|
Reference in New Issue
Block a user