fix handling of action args, bump version to 0.1.1

This commit is contained in:
Adora Laura Kalb 2024-07-03 14:34:12 +02:00
parent 0d4156a050
commit 022091c875
Signed by: adoralaura
SSH key fingerprint: SHA256:3XrkbR8ikAZJVtYfaUliX1MhmJYVAe/ocIb/MiDHBJ8
2 changed files with 2 additions and 2 deletions

View file

@ -198,7 +198,7 @@ func handleCertificateAction(cert configuration.CertificateData) error {
sargs := strings.Split(action, " ")
cmd := exec.Command(sargs[0], sargs...)
cmd := exec.Command(sargs[0], sargs[1:]...)
err := cmd.Run()
return err
}

View file

@ -1,6 +1,6 @@
package constants
const Version = "0.1.0"
const Version = "0.1.1"
const CertificateApiPath = "/certwarden/api/v1/download/certificates/"
const ApiKeyHeaderName = "X-API-Key"
const UserAgent = "certwarden-deploy/" + Version + " +https://code.lila.network/adoralaura/certwarden-deploy"