Skip to content

Commit 35cf06f

Browse files
authored
Merge pull request #48 from ekristen/fix-sleep-bug
fix: run sleep bug where no default sleep is set
2 parents 8c3f31f + cfab4c2 commit 35cf06f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/commands/nuke/command.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import (
1616
"github.com/urfave/cli/v2"
1717
"log"
1818
"slices"
19+
"time"
1920
)
2021

2122
type log2LogrusWriter struct {
@@ -83,6 +84,8 @@ func execute(c *cli.Context) error {
8384

8485
n := libnuke.New(params, filters, parsedConfig.Settings)
8586

87+
n.SetRunSleep(5 * time.Second)
88+
8689
tenantConfig := parsedConfig.Accounts[c.String("tenant-id")]
8790
tenantResourceTypes := types.ResolveResourceTypes(
8891
resource.GetNamesForScope(nuke.Tenant),

0 commit comments

Comments
 (0)