Skip to content

Commit 5fe22df

Browse files
committed
Address comments
1 parent db2898c commit 5fe22df

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

internal/config/config.go

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,11 @@ type Config struct {
1414
}
1515

1616
func setDefaults() {
17-
defaultVolume := ""
18-
if cacheDir, err := os.UserCacheDir(); err == nil {
19-
defaultVolume = filepath.Join(cacheDir, "lstk", "volume", "localstack-aws")
20-
}
21-
2217
viper.SetDefault("containers", []map[string]any{
2318
{
24-
"type": "aws",
25-
"tag": "latest",
26-
"port": "4566",
27-
"volume": defaultVolume,
19+
"type": "aws",
20+
"tag": "latest",
21+
"port": "4566",
2822
},
2923
})
3024
}

0 commit comments

Comments
 (0)