diff --git a/cmd/root.go b/cmd/root.go index 01a8e1dc..fc23cb28 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -379,7 +379,7 @@ the maximum time has passed. Defaults to 0s.`) pflags.StringVar(&c.conf.FUSEDir, "fuse", "", "Mount a directory at the path using FUSE to access AlloyDB instances.") pflags.StringVar(&c.conf.FUSETempDir, "fuse-tmp-dir", - filepath.Join(os.TempDir(), "csql-tmp"), + filepath.Join(os.TempDir(), "alloydb-tmp"), "Temp dir for Unix sockets created with FUSE") pflags.StringVar(&c.impersonationChain, "impersonate-service-account", "", `Comma separated list of service accounts to impersonate. Last value diff --git a/cmd/root_linux_test.go b/cmd/root_linux_test.go index 0a2e8e49..cfa1441e 100644 --- a/cmd/root_linux_test.go +++ b/cmd/root_linux_test.go @@ -23,7 +23,7 @@ import ( ) func TestNewCommandArgumentsOnLinux(t *testing.T) { - defaultTmp := filepath.Join(os.TempDir(), "csql-tmp") + defaultTmp := filepath.Join(os.TempDir(), "alloydb-tmp") tcs := []struct { desc string args []string diff --git a/cmd/root_test.go b/cmd/root_test.go index 905028d5..ef972f3b 100644 --- a/cmd/root_test.go +++ b/cmd/root_test.go @@ -69,7 +69,7 @@ func withDefaults(c *proxy.Config) *proxy.Config { } } if c.FUSETempDir == "" { - c.FUSETempDir = filepath.Join(os.TempDir(), "csql-tmp") + c.FUSETempDir = filepath.Join(os.TempDir(), "alloydb-tmp") } if c.APIEndpointURL == "" { c.APIEndpointURL = "https://alloydb.googleapis.com/v1beta"