Format tools/mount_gcsfuse/main.go
@@ -81,25 +81,29 @@ func makeGcsfuseArgs(
// Special case: support mount-like formatting for gcsfuse bool flags.
case "implicit_dirs":
- args = append(
- args,
- "--"+strings.Replace(name, "_", "-", -1),
- )
+ args = append(args, "--"+strings.Replace(name, "_", "-", -1))
// Special case: support mount-like formatting for gcsfuse string flags.
- case "dir_mode", "file_mode", "key_file", "temp_dir", "gid", "uid", "only_dir", "limit_ops_per_sec", "limit_bytes_per_sec", "stat_cache_ttl", "type_cache_ttl", "billing_project":
- args = append(
- args,
- "--"+strings.Replace(name, "_", "-", -1),
- value,
- )
+ case "dir_mode",
+ "file_mode",
+ "key_file",
+ "temp_dir",
+ "gid",
+ "uid",
+ "only_dir",
+ "limit_ops_per_sec",
+ "limit_bytes_per_sec",
+ "stat_cache_ttl",
+ "type_cache_ttl",
+ "billing_project":
+ args = append(args, "--"+strings.Replace(name, "_", "-", -1), value)
// Special case: support mount-like formatting for gcsfuse debug flags.
- case "debug_fuse", "debug_gcs", "debug_http", "debug_invariants":
- args = append(
- args,
- "--"+name,
- )
+ case "debug_fuse",
+ "debug_gcs",
+ "debug_http",
+ "debug_invariants":
+ args = append(args, "--"+name)
// Pass through everything else.
default:
