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 <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-05-10 15:50:06 +02:00
parent 3ec42e81b1
commit e857f1fae8

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