From 66d545e034643a3c84fbab537d5a68aa84ab0fb7 Mon Sep 17 00:00:00 2001 From: iwilltry42 Date: Mon, 3 Feb 2020 11:36:27 +0100 Subject: [PATCH] do not access cluster name if it's not found --- pkg/tools/tools.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/tools/tools.go b/pkg/tools/tools.go index 874d6c8c..427e67b1 100644 --- a/pkg/tools/tools.go +++ b/pkg/tools/tools.go @@ -37,7 +37,7 @@ import ( func LoadImagesIntoCluster(runtime runtimes.Runtime, images []string, cluster *k3d.Cluster, keepTarball bool) error { cluster, err := k3dc.GetCluster(cluster, runtime) if err != nil { - log.Errorf("Failed to get cluster '%s'", cluster.Name) + log.Errorf("Failed to find the specified cluster") return err }