]> git.proxmox.com Git - proxmox-backup.git/commitdiff
completion: ACME plugin type: comment out http type for now, not useful
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 10 May 2021 13:50:06 +0000 (15:50 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 10 May 2021 13:50:08 +0000 (15:50 +0200)
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 <t.lamprecht@proxmox.com>
src/config/acme/mod.rs

index a9f5e34cb088f13daac315518c3714a19f2ac018..ca2d96718c83f1c07d83787f3062b2b8d0df4d5a 100644 (file)
@@ -156,5 +156,8 @@ pub fn complete_acme_plugin(_arg: &str, _param: &HashMap<String, String>) -> Vec
 }
 
 pub fn complete_acme_plugin_type(_arg: &str, _param: &HashMap<String, String>) -> Vec<String> {
-    vec!["dns".to_string(), "http".to_string()]
+    vec![
+        "dns".to_string(),
+        //"http".to_string(), // makes currently not realyl sense to create or the like
+    ]
 }