Skip to content

Commit 5ab3968

Browse files
committed
:)
1 parent 809592e commit 5ab3968

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/provider/tests/acceptance/setup/acceptance_test_env_prepare.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ func main() {
176176
Argument we are looking to pass is "cleanup" see test.yml workflow file for more information
177177
*/
178178
host := os.Getenv("HC_HOST")
179-
isCleanup := len(os.Args) < 1 && os.Args[1] == "cleanup"
179+
isCleanup := len(os.Args) > 1 && os.Args[1] == "cleanup"
180180
fmt.Println("Are we doing Cleanup:", isCleanup)
181181

182182
if isCleanup {

0 commit comments

Comments
 (0)