mirror of
https://github.com/certd/certd.git
synced 2026-04-26 22:07:29 +08:00
fix: esxi部署失败的bug
This commit is contained in:
@@ -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