diff --git a/pkg/minikube/download/preload.go b/pkg/minikube/download/preload.go index c4a54ec42f..35aa7e18dd 100644 --- a/pkg/minikube/download/preload.go +++ b/pkg/minikube/download/preload.go @@ -137,8 +137,7 @@ func setPreloadState(k8sVersion, containerRuntime string, state preloadState) { func getPreloadState(k8sVersion, containerRuntime string) (preloadState, bool) { if cRuntimes, ok := preloadStates[k8sVersion]; ok { - state, ok := cRuntimes[containerRuntime] - if ok { + if state, ok := cRuntimes[containerRuntime]; ok { return state, true } }