[master] 4d95941d1 Make b1 and b2 look similar, and more compact

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Mon Jun 24 12:01:07 UTC 2019


commit 4d95941d15282f4499c33a6a16d46dffee86ac78
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Mon Jun 24 13:59:49 2019 +0200

    Make b1 and b2 look similar, and more compact

diff --git a/bin/varnishtest/tests/r02976.vtc b/bin/varnishtest/tests/r02976.vtc
index 218c027f5..6fbb57e03 100644
--- a/bin/varnishtest/tests/r02976.vtc
+++ b/bin/varnishtest/tests/r02976.vtc
@@ -29,18 +29,13 @@ server s1 {
 
 varnish v1 -vcl {
 	backend b1 {
-		.host = "${s1_addr}";
-		.port = "${s1_port}";
-		.probe = {
-			.interval = 1s;
-		}
+		.host = "${s1_sock}";
+		.probe = { .interval = 1s; }
 	}
 
 	backend b2 {
 		.host = "${bad_backend}";
-		.probe = {
-			.interval = 24h;
-		}
+		.probe = { .interval = 24h; }
 	}
 
 	sub vcl_recv {


More information about the varnish-commit mailing list