sureshanaparti commented on code in PR #12024:
URL: https://github.com/apache/cloudstack/pull/12024#discussion_r2719989857
##########
utils/src/main/java/com/cloud/utils/script/Script.java:
##########
@@ -145,6 +146,11 @@ public void add(String param) {
_command.add(param);
}
+ public void addSensitive(String param) {
Review Comment:
how about defining this as _add(String param, boolean sensitive)_.
```
add(String param) {
add(param, false)
}
add(String param, boolean sensitive) {
_command.add(param);
if (sensitive) {
sensitiveArgIndices.add(_command.size() - 1);
}
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]