1
0
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:
Dan Ramich
2020-11-05 17:24:34 -07:00
committed by GitHub

View File

@@ -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()
}