mirror of
https://github.com/certd/certd.git
synced 2026-05-18 22:57:31 +08:00
fix: esxi部署失败的bug
This commit is contained in:
@@ -18,7 +18,7 @@ export function resetLogConfigure() {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
resetLogConfigure();
|
resetLogConfigure();
|
||||||
export const logger = log4js.getLogger("default");
|
export const logger: ILogger = log4js.getLogger("default") as any;
|
||||||
|
|
||||||
export function resetLogFilePath(filePath: string) {
|
export function resetLogFilePath(filePath: string) {
|
||||||
logFilePath = filePath;
|
logFilePath = filePath;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import * as _ from 'lodash-es';
|
import * as _ from "lodash-es";
|
||||||
function isUnMergeable(srcValue: any) {
|
function isUnMergeable(srcValue: any) {
|
||||||
return srcValue != null && srcValue instanceof UnMergeable;
|
return srcValue != null && srcValue instanceof UnMergeable;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ export class EsxiDeployCertPlugin extends AbstractPlusTaskPlugin {
|
|||||||
handle: async (ctx) => {
|
handle: async (ctx) => {
|
||||||
const crtPath = ctx.tmpCrtPath;
|
const crtPath = ctx.tmpCrtPath;
|
||||||
const keyPath = ctx.tmpKeyPath;
|
const keyPath = ctx.tmpKeyPath;
|
||||||
sshClient.uploadFiles({
|
await sshClient.uploadFiles({
|
||||||
connectConf: sshConf,
|
connectConf: sshConf,
|
||||||
transports: [
|
transports: [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user