We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32a345f commit 7c68958Copy full SHA for 7c68958
1 file changed
lib/models/apis/runnable.js
@@ -76,7 +76,7 @@ Runnable.prototype.redeployInstance = function (instance, opts, cb) {
76
function redeploy () {
77
instanceModel.redeploy(opts, function (err) {
78
if (err) {
79
- if (err.output.statusCode === 409 && buildId) {
+ if (err.output.statusCode === 409 && opts.json.build) {
80
// only attempt retries if buildId is provided
81
setTimeout(function () {
82
attemptRetry(err);
0 commit comments