refactor: register

This commit is contained in:
xiaojunnuo
2023-05-09 10:16:49 +08:00
parent e123ec4089
commit 9747d40734
24 changed files with 144 additions and 19 deletions
@@ -64,7 +64,7 @@ export class UploadCertToHostPlugin implements ITaskPlugin {
})
hostKeyPath!: string;
async onInit() {}
async onInstance() {}
async execute(): Promise<void> {
const { crtPath, keyPath, cert, accessId, sudo } = this;
const connectConf = this.accessService.getById(accessId);