From e857f1fae8c89a2eb9bc523e90856a03138f3292 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 10 May 2021 15:50:06 +0200 Subject: [PATCH] completion: ACME plugin type: comment out http type for now, not useful It may make sense in the future, e.g., if the built-in standalone type is not enough, e.g., as HTTP**s**, HTTP 2 or even QUIC (HTTP 3) is wanted in some setups, but for now there's no scenario where one would profit from adding a new HTTP plugin, especially as it requires the `data` property to be set, which makes no sense.. Signed-off-by: Thomas Lamprecht --- src/config/acme/mod.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/config/acme/mod.rs b/src/config/acme/mod.rs index a9f5e34c..ca2d9671 100644 --- a/src/config/acme/mod.rs +++ b/src/config/acme/mod.rs @@ -156,5 +156,8 @@ pub fn complete_acme_plugin(_arg: &str, _param: &HashMap) -> Vec } pub fn complete_acme_plugin_type(_arg: &str, _param: &HashMap) -> Vec { - vec!["dns".to_string(), "http".to_string()] + vec![ + "dns".to_string(), + //"http".to_string(), // makes currently not realyl sense to create or the like + ] } -- 2.39.2