Skip to content

Commit 5bfcb54

Browse files
authored
Merge pull request #155 from netlify/dont-poll-deploy
go-client: Don’t poll deploy after upload
2 parents ebc359e + 0c86cea commit 5bfcb54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/porcelain/deploy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ func (n *Netlify) DoDeploy(ctx context.Context, options *DeployOptions, deploy *
290290
}
291291
}
292292

293-
return n.WaitForDeployComplete(ctx, deploy, options.DoneProcessingTimeout)
293+
return deploy, nil
294294
}
295295

296296
func (n *Netlify) waitForState(ctx context.Context, d *models.Deploy, timeout time.Duration, states ...string) (*models.Deploy, error) {

0 commit comments

Comments
 (0)