From fb75d3cf42353c5f6207c980b51ccd2adcbdde38 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Thu, 6 Dec 2018 16:57:03 +0100 Subject: [PATCH] fix: [www] using server-aliases with letsencrypt would trigger an error about "empty label". Asking ``-y`` to shyaml would include rogue ``...`` in the output. --- apache/lib/common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apache/lib/common b/apache/lib/common index 2b5779e..f17acf5 100644 --- a/apache/lib/common +++ b/apache/lib/common @@ -217,7 +217,7 @@ ssl_plugin_cert-provider_prepare() { options=$(yaml_key_val_str "options" "$cfg") || return 1 service_config=$(yaml_key_val_str "$service" "$options") compose --debug --add-compose-content "$service_config" run --rm --service-ports "$service" \ - crt create "$DOMAIN" $(echo "$SERVER_ALIAS" | shyaml -y get-values 2>/dev/null) || { + crt create "$DOMAIN" $(echo "$SERVER_ALIAS" | shyaml get-values 2>/dev/null) || { err "Failed to launch letsencrypt for certificate creation." return 1 }