Skip to content

Commit 817da96

Browse files
remove version update from createImageBuilderAndAttach
1 parent 3f4a5df commit 817da96

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

lib/models/apis/docker.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -127,17 +127,7 @@ Docker.prototype.createImageBuilderAndAttach = function (sessionUser, version, c
127127
'/cache': {}
128128
};
129129
}
130-
self.createContainer(builderContainerData, function (err, container) {
131-
debug('container created - ', 'err:', err, 'container:', container);
132-
if (err) { return cb(err); }
133-
var containerId = container.Id;
134-
135-
version.update({
136-
$set: { containerId: containerId }
137-
}, error.logIfErr);
138-
139-
cb(null, container);
140-
});
130+
self.createContainer(builderContainerData, cb);
141131
}
142132
};
143133

0 commit comments

Comments
 (0)