Skip to content

Commit

Permalink
update monitor to include waitTime param
Browse files Browse the repository at this point in the history
  • Loading branch information
jdockerty committed Nov 15, 2022
1 parent e87d193 commit 3db8165
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ func (m *monitor) monitor(evalID string) int {
meta := new(Meta)
meta.Ui = m.ui
cmd := &DeploymentStatusCommand{Meta: *meta}
status, err := cmd.monitor(m.client, dID, 0, verbose)
status, err := cmd.monitor(m.client, dID, 0, m.state.wait, verbose)
if err != nil || status != api.DeploymentStatusSuccessful {
return 1
}
Expand Down

0 comments on commit 3db8165

Please sign in to comment.