Fix review comments

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna 2019-02-26 16:39:39 +05:30 committed by mergify[bot]
parent 3b320ef19e
commit e861f12a60

View File

@ -402,11 +402,11 @@ func extractStoredVolOpt(r *rbdVolume) map[string]string {
} }
if len(r.AdminID) > 0 { if len(r.AdminID) > 0 {
volOptions["adminid"] = r.AdminID volOptions["adminId"] = r.AdminID
} }
if len(r.UserID) > 0 { if len(r.UserID) > 0 {
volOptions["userid"] = r.UserID volOptions["userId"] = r.UserID
} }
if len(r.Mounter) > 0 { if len(r.Mounter) > 0 {
volOptions["mounter"] = r.Mounter volOptions["mounter"] = r.Mounter