From: Thomas Lamprecht Date: Mon, 10 May 2021 13:50:06 +0000 (+0200) Subject: completion: ACME plugin type: comment out http type for now, not useful X-Git-Tag: v1.1.10~144 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=e857f1fae8c89a2eb9bc523e90856a03138f3292;hp=3ec42e81b10f9d754e065ba18b081aadf06f512a;p=proxmox-backup.git 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 --- 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 + ] }