mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-12-04 15:21:05 +01:00
feat: remove extra set status
This commit is contained in:
parent
f608c7805d
commit
29c7f53d02
@ -161,13 +161,13 @@ func (t *TerraformApp) Run(args LocalAppRunningArgs) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
t.Logger.SetStatus(task_logger.TaskWaitingConfirmation)
|
||||
|
||||
if params.AutoApprove {
|
||||
t.Logger.SetStatus(task_logger.TaskRunningStatus)
|
||||
return t.Apply(args.CliArgs, args.EnvironmentVars, args.Inputs, args.Callback)
|
||||
}
|
||||
|
||||
t.Logger.SetStatus(task_logger.TaskWaitingConfirmation)
|
||||
|
||||
for {
|
||||
time.Sleep(time.Second * 3)
|
||||
if t.reader.result != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user