Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions compose.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ class Compose {
}
}

async pull(serviceN, options) {
async pull(serviceN, options, auth) {
options = options || {};
var streams = [];
var serviceNames = (serviceN === undefined || serviceN === null) ? tools.sortServices(this.recipe) : [serviceN];
for (var serviceName of serviceNames) {
var service = this.recipe.services[serviceName];
try {
var streami = await this.docker.pull(service.image);
var streami = await this.docker.pull(service.image, auth);
streams.push(streami);

if (options.verbose === true) {
Expand Down