Fix variable name

pull/6119/head
tstromberg 2019-12-19 13:03:43 -08:00
parent ca06c7224e
commit e7572ed98b
1 changed files with 3 additions and 2 deletions

View File

@ -207,11 +207,12 @@ func TestStartStop(t *testing.T) {
}
// defaultImage returns true if this image is expected in a default minikube install
func defaultImage(name string) {
func defaultImage(name string) bool {
if strings.Contains(name, ":latest") {
return false
}
if strings.Contains(i, "k8s.gcr.io") || strings.Contains(i, "kubernetesui") || strings.Contains(i, "storage-provisioner") {
if strings.Contains(name, "k8s.gcr.io") || strings.Contains(name, "kubernetesui") || strings.Contains(name, "storage-provisioner") {
return true
}
return false
}