Commit Graph

6 Commits

Author SHA1 Message Date
Davanum Srinivas
93189a19bc ignore golint for some stutter that we want to keep as-is
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-09-01 23:01:32 -07:00
Davanum Srinivas
e2ef310046 fix bad spelling
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-09-01 23:01:32 -07:00
saad-ali
8dd4fc79dc Introduce paramater for sensitive mount options.
Introduce optional sensitiveOptions parameter to allow sensitive mount
options to be passed in a separate parameter from the normal mount
options and ensures the sensitiveOptions are never logged.
2020-09-01 23:01:32 -07:00
David Zhu
5d34e5006a FormatAndMount unit test only checks for MountErrorValue now and closed gaps for some error values 2020-09-01 23:01:32 -07:00
Hemant Kumar
51e2ee9753 Return typed error when Mount Fails
Mount can fail for a variety of reasons and caller might want to know
why mount failed. Using untyped string based error does not provide
enough granularity to make that verification.
2020-09-01 23:01:32 -07:00
Travis Rhoden
0abe151fe8 Extract pkg/util/mount and drop BUILD
Preserving git history.
2020-09-01 23:01:32 -07:00