Skip to content

Commit bb392b1

Browse files
committed
Add nil check for clusterName
1 parent 4c305d0 commit bb392b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/suite/graceful_recovery_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ func runRestartNodeTest(teaURL, coffeeURL string, files []string, ns *core.Names
142142
Expect(err).ToNot(HaveOccurred())
143143
}
144144

145+
Expect(clusterName).ToNot(BeNil(), "clusterName variable not set")
145146
Expect(*clusterName).ToNot(BeEmpty())
146147
containerName := *clusterName + "-control-plane"
147148

0 commit comments

Comments
 (0)