Skip to content
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.

Commit

Permalink
Fix for cache operations message
Browse files Browse the repository at this point in the history
  • Loading branch information
emate committed Dec 17, 2018
1 parent d792025 commit 5b65335
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmd/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,11 @@ func getCacheList() cache.GlobalCacheList {
refreshStart := time.Now()
cacheList.RefreshInParallel(false)
refreshElapsed := time.Since(refreshStart)
fmt.Printf("Cache refresh total time: %s\n\n", refreshElapsed)

if config.GlobalConfig.Verbose {
fmt.Printf("Cache operations total time: %s\n\n", refreshElapsed)
}

return cacheList
}

Expand Down

0 comments on commit 5b65335

Please sign in to comment.