We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 389e42e commit e61302aCopy full SHA for e61302a
1 file changed
lib/models/apis/mavis.js
@@ -23,14 +23,14 @@ util.inherits(Mavis, ApiClient);
23
*/
24
Mavis.prototype.findDockForNetwork = function (cb) {
25
debug('findDockForNetwork', formatArgs(arguments));
26
- this.findDock('container_run', cb);
+ this.findDockForContainer({}, cb);
27
};
28
29
Mavis.prototype.findDockForBuild = function (build, cb) {
30
var opts = {
31
type: 'container_build'
32
33
- opts.prevDuration= build.duration || 0;
+ opts.prevDuration = build.duration || 0;
34
this.findDock(opts, cb);
35
36
@@ -40,7 +40,6 @@ Mavis.prototype.findDockForContainer = function (contextVersion, cb) {
40
41
// if dockerHost is not an address, its invalid
42
opts.prevDock = contextVersion.dockerHost || null;
43
-
44
45
46
0 commit comments