[6.0] e732dd37c Make b1 and b2 look similar, and more compact

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Thu Jul 11 09:35:11 UTC 2019


commit e732dd37c6a9e50b6d61a08e08358ced7fe41dac
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