fix port setting issue

Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
This commit is contained in:
Luca Stocchi 2020-11-07 12:43:03 +01:00
parent b5c3b226ac
commit 69952a8f62
No known key found for this signature in database
GPG key ID: 930BB00F3FCF30A4

View file

@ -63,7 +63,7 @@ export class BuildahCli implements Buildah {
} }
if (settings.port) { if (settings.port) {
args.push('--port'); args.push('--port');
args.push(...settings.port); args.push(settings.port);
} }
args.push(container); args.push(container);
return await this.execute(args); return await this.execute(args);