From 26acaaef521d37e13788a23e9518bd32fee27a0f Mon Sep 17 00:00:00 2001 From: Stavros kois Date: Mon, 12 Dec 2022 17:20:34 +0200 Subject: [PATCH] fix some cases --- library/common/1.0.0/templates/lib/certificate/_cert.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/common/1.0.0/templates/lib/certificate/_cert.tpl b/library/common/1.0.0/templates/lib/certificate/_cert.tpl index 7a321356e5..8113b0bde5 100644 --- a/library/common/1.0.0/templates/lib/certificate/_cert.tpl +++ b/library/common/1.0.0/templates/lib/certificate/_cert.tpl @@ -14,7 +14,7 @@ This checks that the certName exists as a key/dict. {{- fail "Key is empty" -}} {{- end -}} {{- else -}} - {{- fail "Key does not exist." -}} + {{- fail "Key does not exist" -}} {{- end -}} {{- end -}} @@ -32,13 +32,13 @@ Example keys (certificate, privatekey, expired, revoked) {{- if (hasKey $certificate "revoked") -}} {{- if eq (get $certificate "revoked") true -}} - {{- fail (printf "Certificate (%s) has been revoked." $certName) -}} + {{- fail (printf "Certificate (%s) has been revoked" $certName) -}} {{- end -}} {{- end -}} {{- if (hasKey $certificate "expired") -}} {{- if eq (get $certificate "expired") true -}} - {{- fail (printf "Certificate (%s) is expired." $certName) -}} + {{- fail (printf "Certificate (%s) is expired" $certName) -}} {{- end -}} {{- end -}}