mirror of
https://github.com/rancher/cli.git
synced 2026-02-05 09:48:36 +01:00
Merge pull request #289 from tjcain/fix-cache-dir-bug
cli: fix key used to extract cache-dir
This commit is contained in:
@@ -526,7 +526,7 @@ func generateKey() (string, error) {
|
||||
}
|
||||
|
||||
func getCacheDir(ctx *cli.Context) (string, error) {
|
||||
p := ctx.String("cache-path")
|
||||
p := ctx.String("cache-dir")
|
||||
if p == "" {
|
||||
return os.Getwd()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user