Skip to content

Commit

Permalink
sleep after vault ready plus removal of redundant function calls (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
johndietz committed Jul 19, 2022
1 parent 1c99e57 commit 4852398
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions cmd/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,17 +217,9 @@ to quickly create a Cobra application.`,
}
if !skipVault {

progressPrinter.AddTracker("step-vault", "Configure Vault", 4)
progressPrinter.AddTracker("step-vault", "Configure Vault", 2)
informUser("waiting for vault unseal")

// waitVaultToBeRunning(dryRun)
// informUser("Vault running")
// progressPrinter.IncrementTracker("step-vault", 1)

// waitForVaultUnseal(dryRun, config)
// informUser("Vault unseal")
// progressPrinter.IncrementTracker("step-vault", 1)

log.Println("configuring vault")
vault.ConfigureVault(dryRun)
informUser("Vault configured")
Expand Down

0 comments on commit 4852398

Please sign in to comment.