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 -}}