Skip to content

Commit

Permalink
Remove obsolete cli flag experimental-local-file-cache (#2437)
Browse files Browse the repository at this point in the history
* Remove uses of experimental-local-file-cache

CLI flag experimental-local-file-cache was
removed long back and is no longer in use or
in documentation. So, removing the last few
remaining traces of it.

* remove couple more references to experimental-local-file-cache
  • Loading branch information
gargnitingoogle authored Sep 3, 2024
1 parent d4cc514 commit 199cfc1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion tools/mount_gcsfuse/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ func makeGcsfuseArgs(
// Special case: support mount-like formatting for gcsfuse bool flags.
case "implicit_dirs",
"foreground",
"experimental_local_file_cache",
"reuse_token_from_url",
"enable_nonexistent_type_cache",
"experimental_enable_json_read",
Expand Down
4 changes: 0 additions & 4 deletions tools/mount_gcsfuse/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ func TestMakeGcsfuseArgs(t *testing.T) {
name: "TestMakeGcsfuseArgs for BooleanFlags with underscore",
opts: map[string]string{"implicit_dirs": "",
"foreground": "true",
"experimental_local_file_cache": "",
"reuse_token_from_url": "false",
"enable_nonexistent_type_cache": "",
"experimental_enable_json_read": "true",
Expand All @@ -46,7 +45,6 @@ func TestMakeGcsfuseArgs(t *testing.T) {
"log_rotate_compress": "false"},
expectedFlags: []string{"--implicit-dirs=true",
"--foreground=true",
"--experimental-local-file-cache=true",
"--reuse-token-from-url=false",
"--enable-nonexistent-type-cache=true",
"--experimental-enable-json-read=true",
Expand All @@ -60,7 +58,6 @@ func TestMakeGcsfuseArgs(t *testing.T) {
name: "TestMakeGcsfuseArgs for BooleanFlags with hyphens",
opts: map[string]string{"implicit_dirs": "",
"foreground": "true",
"experimental-local-file-cache": "",
"reuse-token-from-url": "false",
"enable-nonexistent-type-cache": "",
"experimental-enable-json-read": "true",
Expand All @@ -70,7 +67,6 @@ func TestMakeGcsfuseArgs(t *testing.T) {
"log_rotate-compress": "false"},
expectedFlags: []string{"--implicit-dirs=true",
"--foreground=true",
"--experimental-local-file-cache=true",
"--reuse-token-from-url=false",
"--enable-nonexistent-type-cache=true",
"--experimental-enable-json-read=true",
Expand Down

0 comments on commit 199cfc1

Please sign in to comment.