chiark / gitweb /
config: Deprecate quoted values
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 8 Aug 2021 01:44:39 +0000 (02:44 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 8 Aug 2021 01:48:47 +0000 (02:48 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/config.rs

index 3a45eb81928a974d4c3071e4767bb59278a748dc..372c20d14ccfe4403cc487afef6321906f5d4e42 100644 (file)
@@ -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))