forked from kubernetes-csi/csi-driver-iscsi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove logging of args for failed iscsi cmds
The iscsiadm functions provide a debug mode that currently logs the iscsiadm command that was issued and the response. This is handy for the lib as it's in beta and we want to make it easy for users to pick up and start using, BUT it also has a major problem in that it will also log the arguments passed in for things like CHAP secrets. This change just removes the debug logging of the iscsiadm cmd args, in the future if we need/want some debug tools we can implement a more robust and secure method that's safe and doesn't leak secrets to log files. closes kubernetes-csi#8
- Loading branch information
j-griffith
committed
Apr 5, 2019
1 parent
696aa76
commit fca6aad
Showing
2 changed files
with
5 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters