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) {
87
87
func GetClusterType (t Test ) ClusterType {
88
88
clusterType , ok := os .LookupEnv (ClusterTypeEnvVar )
89
89
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 )
91
91
return UndefinedCluster
92
92
}
93
93
switch clusterType {
@@ -100,7 +100,7 @@ func GetClusterType(t Test) ClusterType {
100
100
case "KIND" :
101
101
return KindCluster
102
102
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 )
104
104
return UndefinedCluster
105
105
}
106
106
}
You can’t perform that action at this time.
0 commit comments