We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 809592e commit 5ab3968Copy full SHA for 5ab3968
internal/provider/tests/acceptance/setup/acceptance_test_env_prepare.go
@@ -176,7 +176,7 @@ func main() {
176
Argument we are looking to pass is "cleanup" see test.yml workflow file for more information
177
*/
178
host := os.Getenv("HC_HOST")
179
- isCleanup := len(os.Args) < 1 && os.Args[1] == "cleanup"
+ isCleanup := len(os.Args) > 1 && os.Args[1] == "cleanup"
180
fmt.Println("Are we doing Cleanup:", isCleanup)
181
182
if isCleanup {
0 commit comments