Skip to content

Commit dadaa9d

Browse files
committed
Add ContentSource to create VolumeResponse
Added ContentSource to the create VolumeResponse for existing volumes Signed-off-by: Madhu Rajanna <[email protected]>
1 parent 91759ef commit dadaa9d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/hostpath/controllerserver.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ func (cs *controllerServer) CreateVolume(ctx context.Context, req *csi.CreateVol
135135
VolumeId: exVol.VolID,
136136
CapacityBytes: int64(exVol.VolSize),
137137
VolumeContext: req.GetParameters(),
138+
ContentSource: req.GetVolumeContentSource(),
138139
},
139140
}, nil
140141
}

0 commit comments

Comments
 (0)