Skip to content

Commit

Permalink
Fix dummy sleep on deploy/remove chunk
Browse files Browse the repository at this point in the history
  • Loading branch information
daaru00 committed Mar 15, 2021
1 parent 92bf599 commit 9191955
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cmd/deploy/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func NewCommand(globalFlags []cli.Flag) *cli.Command {
return &cli.Command{
Name: "deploy",
Aliases: []string{"up"},
Usage: "Deploy a Synthetics Document",
Usage: "Deploy SSM Documents",
Flags: append(globalFlags, []cli.Flag{
&cli.StringFlag{
Name: "artifact-bucket",
Expand Down Expand Up @@ -124,7 +124,7 @@ func Action(c *cli.Context) error {
waitGroup.Wait()

// Do dummy wait
time.Sleep(2000 * time.Microsecond)
time.Sleep(2 * time.Second)
}

// Close errors channel
Expand Down
4 changes: 2 additions & 2 deletions cmd/remove/remove.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func NewCommand(globalFlags []cli.Flag) *cli.Command {
return &cli.Command{
Name: "remove",
Aliases: []string{"delete", "down"},
Usage: "Remove a Synthetics Document",
Usage: "Remove SSM Documents",
Flags: append(globalFlags, []cli.Flag{
&cli.StringFlag{
Name: "artifact-bucket",
Expand Down Expand Up @@ -126,7 +126,7 @@ func Action(c *cli.Context) error {
waitGroup.Wait()

// Do dummy wait
time.Sleep(2000 * time.Microsecond)
time.Sleep(2 * time.Second)
}

// Close errors channel
Expand Down

0 comments on commit 9191955

Please sign in to comment.