From e8773af22ca301aa8fff2827fc2b4c0562a4d281 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 8 Aug 2021 02:44:39 +0100 Subject: [PATCH] config: Deprecate quoted values Signed-off-by: Ian Jackson --- src/config.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 3a45eb8..372c20d 100644 --- a/src/config.rs +++ b/src/config.rs @@ -55,7 +55,7 @@ max_requests_outstanding = 6 max_batch_up = 4000 http_retry = 5 port = 80 -vroutes = '' +vroutes = ifname_client = hippo%d ifname_server = shippo%d max_clock_skew = 300 @@ -286,6 +286,11 @@ impl Aggregate { || anyhow!("mismatched quotes around quoted value") )? .to_owned(); + + eprintln!("warning: {}: \ + quoted values are deprecated; their meaning will change", + &loc); + Ok::<_,AE>(unq) })() .with_context(|| format!("key {:?}", key)) -- 2.30.2