fix handling of action args, bump version to 0.1.1
This commit is contained in:
parent
0d4156a050
commit
022091c875
2 changed files with 2 additions and 2 deletions
|
@ -198,7 +198,7 @@ func handleCertificateAction(cert configuration.CertificateData) error {
|
||||||
|
|
||||||
sargs := strings.Split(action, " ")
|
sargs := strings.Split(action, " ")
|
||||||
|
|
||||||
cmd := exec.Command(sargs[0], sargs...)
|
cmd := exec.Command(sargs[0], sargs[1:]...)
|
||||||
err := cmd.Run()
|
err := cmd.Run()
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package constants
|
package constants
|
||||||
|
|
||||||
const Version = "0.1.0"
|
const Version = "0.1.1"
|
||||||
const CertificateApiPath = "/certwarden/api/v1/download/certificates/"
|
const CertificateApiPath = "/certwarden/api/v1/download/certificates/"
|
||||||
const ApiKeyHeaderName = "X-API-Key"
|
const ApiKeyHeaderName = "X-API-Key"
|
||||||
const UserAgent = "certwarden-deploy/" + Version + " +https://code.lila.network/adoralaura/certwarden-deploy"
|
const UserAgent = "certwarden-deploy/" + Version + " +https://code.lila.network/adoralaura/certwarden-deploy"
|
||||||
|
|
Loading…
Reference in a new issue