mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-05-28 17:46:41 +00:00
rbd: fix typo in createVolume validation
Signed-off-by: Marton Natko <mnatko@transip.nl> Signed-off-by: Madhu Rajanna <madhupr007@gmail.com> (cherry picked from commit 2fbca0d1e25b5ceb94df8525fda8336f404f8d9c)
This commit is contained in:
parent
764e33f249
commit
d999d9db0c
@ -74,7 +74,7 @@ func (cs *ControllerServer) validateVolumeReq(ctx context.Context, req *csi.Crea
|
||||
if value, ok := options["dataPool"]; ok && value == "" {
|
||||
return status.Error(codes.InvalidArgument, "empty datapool name to provision volume from")
|
||||
}
|
||||
if value, ok := options["raodsNamespace"]; ok && value == "" {
|
||||
if value, ok := options["radosNamespace"]; ok && value == "" {
|
||||
return status.Error(codes.InvalidArgument, "empty namespace name to provision volume from")
|
||||
}
|
||||
if value, ok := options["volumeNamePrefix"]; ok && value == "" {
|
||||
|
Loading…
x
Reference in New Issue
Block a user