docker(install): fix constructor
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
@@ -60,8 +60,8 @@ export interface InstallOpts {
|
|||||||
rootless?: boolean;
|
rootless?: boolean;
|
||||||
localTCPPort?: number;
|
localTCPPort?: number;
|
||||||
|
|
||||||
regctl: Regctl;
|
regctl?: Regctl;
|
||||||
undock: Undock;
|
undock?: Undock;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface LimaImage {
|
interface LimaImage {
|
||||||
@@ -98,8 +98,8 @@ export class Install {
|
|||||||
this.daemonConfig = opts.daemonConfig;
|
this.daemonConfig = opts.daemonConfig;
|
||||||
this.rootless = opts.rootless || false;
|
this.rootless = opts.rootless || false;
|
||||||
this.localTCPPort = opts.localTCPPort;
|
this.localTCPPort = opts.localTCPPort;
|
||||||
this.regctl = opts.regctl;
|
this.regctl = opts.regctl || new Regctl();
|
||||||
this.undock = opts.undock;
|
this.undock = opts.undock || new Undock();
|
||||||
}
|
}
|
||||||
|
|
||||||
get toolDir(): string {
|
get toolDir(): string {
|
||||||
|
|||||||
Reference in New Issue
Block a user