Skip to content

Commit 7c68958

Browse files
fix build check
1 parent 32a345f commit 7c68958

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/models/apis/runnable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Runnable.prototype.redeployInstance = function (instance, opts, cb) {
7676
function redeploy () {
7777
instanceModel.redeploy(opts, function (err) {
7878
if (err) {
79-
if (err.output.statusCode === 409 && buildId) {
79+
if (err.output.statusCode === 409 && opts.json.build) {
8080
// only attempt retries if buildId is provided
8181
setTimeout(function () {
8282
attemptRetry(err);

0 commit comments

Comments
 (0)