mirror of
https://github.com/democratic-csi/democratic-csi.git
synced 2026-10-21 09:24:44 +02:00
initial support for overriding driver options on a per-class and per-pvc basis
Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
+2
-2
@@ -624,7 +624,7 @@ class ISCSI {
|
||||
return value.trim() == "node.session.auth.password";
|
||||
});
|
||||
|
||||
if (argIndex >= 0 && cleansedArgs[argIndex + 1].trim() == "--value") {
|
||||
if (argIndex >= 0 && cleansedArgs[argIndex + 1]?.trim() == "--value") {
|
||||
cleansedArgs[argIndex + 2] = "redacted";
|
||||
}
|
||||
|
||||
@@ -633,7 +633,7 @@ class ISCSI {
|
||||
return value.trim() == "node.session.auth.password_in";
|
||||
});
|
||||
|
||||
if (argIndex >= 0 && cleansedArgs[argIndex + 1].trim() == "--value") {
|
||||
if (argIndex >= 0 && cleansedArgs[argIndex + 1]?.trim() == "--value") {
|
||||
cleansedArgs[argIndex + 2] = "redacted";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user