File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ func GetClusterId() (string, bool) {
8787func GetClusterType (t Test ) ClusterType {
8888 clusterType , ok := os .LookupEnv (ClusterTypeEnvVar )
8989 if ! ok {
90- t .T ().Logf ("Expected environment variable %s not found, cluster type is not defined ." , ClusterTypeEnvVar )
90+ t .T ().Logf ("Environment variable %s is unset ." , ClusterTypeEnvVar )
9191 return UndefinedCluster
9292 }
9393 switch clusterType {
@@ -100,7 +100,7 @@ func GetClusterType(t Test) ClusterType {
100100 case "KIND" :
101101 return KindCluster
102102 default :
103- t .T ().Logf ("Expected environment variable %s contains unexpected value: '%s'" , ClusterTypeEnvVar , clusterType )
103+ t .T ().Logf ("Environment variable %s is unset or contains an incorrect value: '%s'" , ClusterTypeEnvVar , clusterType )
104104 return UndefinedCluster
105105 }
106106}
You can’t perform that action at this time.
0 commit comments