mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-09 05:59:50 +00:00
fix: illegal arguments
This commit is contained in:
parent
4916757d59
commit
a842b6b925
@ -195,9 +195,9 @@ func createDeployer(target string, accessConfig string, deployConfig map[string]
|
|||||||
ShellEnv: providerLocal.ShellEnvType(maps.GetValueAsString(deployConfig, "shellEnv")),
|
ShellEnv: providerLocal.ShellEnvType(maps.GetValueAsString(deployConfig, "shellEnv")),
|
||||||
PreCommand: maps.GetValueAsString(deployConfig, "preCommand"),
|
PreCommand: maps.GetValueAsString(deployConfig, "preCommand"),
|
||||||
PostCommand: maps.GetValueAsString(deployConfig, "postCommand"),
|
PostCommand: maps.GetValueAsString(deployConfig, "postCommand"),
|
||||||
OutputFormat: providerLocal.OutputFormatType(maps.GetValueOrDefaultAsString(deployConfig, "outputFormat", "PEM")),
|
OutputFormat: providerLocal.OutputFormatType(maps.GetValueOrDefaultAsString(deployConfig, "format", "PEM")),
|
||||||
OutputCertPath: maps.GetValueAsString(deployConfig, "outputCertPath"),
|
OutputCertPath: maps.GetValueAsString(deployConfig, "certPath"),
|
||||||
OutputKeyPath: maps.GetValueAsString(deployConfig, "outputKeyPath"),
|
OutputKeyPath: maps.GetValueAsString(deployConfig, "keyPath"),
|
||||||
PfxPassword: maps.GetValueAsString(deployConfig, "pfxPassword"),
|
PfxPassword: maps.GetValueAsString(deployConfig, "pfxPassword"),
|
||||||
JksAlias: maps.GetValueAsString(deployConfig, "jksAlias"),
|
JksAlias: maps.GetValueAsString(deployConfig, "jksAlias"),
|
||||||
JksKeypass: maps.GetValueAsString(deployConfig, "jksKeypass"),
|
JksKeypass: maps.GetValueAsString(deployConfig, "jksKeypass"),
|
||||||
@ -255,9 +255,9 @@ func createDeployer(target string, accessConfig string, deployConfig map[string]
|
|||||||
SshKeyPassphrase: access.KeyPassphrase,
|
SshKeyPassphrase: access.KeyPassphrase,
|
||||||
PreCommand: maps.GetValueAsString(deployConfig, "preCommand"),
|
PreCommand: maps.GetValueAsString(deployConfig, "preCommand"),
|
||||||
PostCommand: maps.GetValueAsString(deployConfig, "postCommand"),
|
PostCommand: maps.GetValueAsString(deployConfig, "postCommand"),
|
||||||
OutputFormat: providerSSH.OutputFormatType(maps.GetValueOrDefaultAsString(deployConfig, "outputFormat", "PEM")),
|
OutputFormat: providerSSH.OutputFormatType(maps.GetValueOrDefaultAsString(deployConfig, "format", "PEM")),
|
||||||
OutputCertPath: maps.GetValueAsString(deployConfig, "outputCertPath"),
|
OutputCertPath: maps.GetValueAsString(deployConfig, "certPath"),
|
||||||
OutputKeyPath: maps.GetValueAsString(deployConfig, "outputKeyPath"),
|
OutputKeyPath: maps.GetValueAsString(deployConfig, "keyPath"),
|
||||||
PfxPassword: maps.GetValueAsString(deployConfig, "pfxPassword"),
|
PfxPassword: maps.GetValueAsString(deployConfig, "pfxPassword"),
|
||||||
JksAlias: maps.GetValueAsString(deployConfig, "jksAlias"),
|
JksAlias: maps.GetValueAsString(deployConfig, "jksAlias"),
|
||||||
JksKeypass: maps.GetValueAsString(deployConfig, "jksKeypass"),
|
JksKeypass: maps.GetValueAsString(deployConfig, "jksKeypass"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user