From e8945f293448b3a4c84875ee12e4c81b314c2daa Mon Sep 17 00:00:00 2001 From: Priya Wadhwa Date: Tue, 9 Feb 2021 13:36:40 -0800 Subject: [PATCH] Add warning for cache add --- cmd/minikube/cmd/cache.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/minikube/cmd/cache.go b/cmd/minikube/cmd/cache.go index 50d57ca9aaf8..7933f4f7ec39 100644 --- a/cmd/minikube/cmd/cache.go +++ b/cmd/minikube/cmd/cache.go @@ -50,6 +50,7 @@ var addCacheCmd = &cobra.Command{ Short: "Add an image to local cache.", Long: "Add an image to local cache.", Run: func(cmd *cobra.Command, args []string) { + out.WarningT("\"minikube cache\" will be deprecated in upcoming versions, please switch to \"minikube image load\"") // Cache and load images into docker daemon if err := machine.CacheAndLoadImages(args, cacheAddProfiles()); err != nil { exit.Error(reason.InternalCacheLoad, "Failed to cache and load images", err)