Updated main.go - consolidate mount options
@@ -87,23 +87,7 @@ func makeGcsfuseArgs(
)
// Special case: support mount-like formatting for gcsfuse string flags.
- case "key_file":
- args = append(
- args,
- "--"+strings.Replace(name, "_", "-", -1),
- value,
- )
-
- // Special case: support mount-like formatting for gcsfuse string flags.
- case "temp_dir":
- args = append(
- args,
- "--"+strings.Replace(name, "_", "-", -1),
- value,
- )
-
- // Special case: support mount-like formatting for gcsfuse string flags.
- case "dir_mode", "file_mode":
+ case "dir_mode", "file_mode", "key_file", "temp_dir":
args = append(
args,
"--"+strings.Replace(name, "_", "-", -1),
