Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Commit 7acb64a

Browse files
committed
Fix environment destroy
Signed-off-by: Mattias Gees <mattias.gees@gmail.com>
1 parent 8775ba2 commit 7acb64a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/tarmak/e2e/e2e_cluster_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func TestAWSSingleCluster(t *testing.T) {
2929

3030
defer func() {
3131
t.Log("run environment destroy command")
32-
c = ti.Command("environment", "destroy", "--name", ti.environmentName, "--auto-approve")
32+
c = ti.Command("environment", "destroy", ti.environmentName, "--auto-approve")
3333
// write error out to my stdout
3434
c.Stderr = os.Stderr
3535
if err := c.Run(); err != nil {
@@ -76,7 +76,7 @@ func TestAWSMultiCluster(t *testing.T) {
7676

7777
defer func() {
7878
t.Log("run environment destroy command")
79-
c = ti.Command("environment", "destroy", "--name", ti.environmentName, "--auto-approve")
79+
c = ti.Command("environment", "destroy", ti.environmentName, "--auto-approve")
8080
// write error out to my stdout
8181
c.Stderr = os.Stderr
8282
if err := c.Run(); err != nil {

0 commit comments

Comments
 (0)