repo: upgraded to latest version, removed format block settings from repository create, instead --encryption=NONE disables encryption of both blocks and format

This commit is contained in:
Jarek Kowalski
2019-01-12 09:24:12 -08:00
parent be70daa3e3
commit 2e297dc60d
6 changed files with 10 additions and 11 deletions

View File

@@ -14,6 +14,7 @@
func runCacheClearCommand(ctx context.Context, rep *repo.Repository) error {
if d := rep.CacheDirectory; d != "" {
printStderr("Clearing cache directory: %v.\n", d)
err := os.RemoveAll(d)
if err != nil {
return err
@@ -23,7 +24,7 @@ func runCacheClearCommand(ctx context.Context, rep *repo.Repository) error {
return err
}
log.Noticef("cache cleared")
printStderr("Cache cleared.\n")
return nil
}