[master] 5cb568af8 widen the Probe field of the backend.list CLI command

Nils Goroll nils.goroll at uplex.de
Tue Feb 5 10:47:08 UTC 2019


commit 5cb568af895d22229bebbc8731f8c5869db75e37
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Tue Feb 5 11:45:51 2019 +0100

    widen the Probe field of the backend.list CLI command

diff --git a/doc/changes.rst b/doc/changes.rst
index 7d1b59252..a83fe8e84 100644
--- a/doc/changes.rst
+++ b/doc/changes.rst
@@ -62,6 +62,12 @@ Varnish Cache trunk (ongoing)
   ``vcl_dir`` -> ``vcl_path``
   ``vmod_dir`` -> ``vmod_path``
 
+* Changed the width of the `Probe` column of the ``backend.list``
+  cli command from 10 to 14 characters
+
+  For best forward compatibility, we recommend that scripts parse JSON
+  output as obtained using the ``-j`` option.
+
 VCL
 ---
 
diff --git a/include/vrt.h b/include/vrt.h
index b4c77462b..091508dda 100644
--- a/include/vrt.h
+++ b/include/vrt.h
@@ -499,7 +499,7 @@ struct vdi_methods {
 /* width of fields in "backend.list" */
 #define VDI_LIST_W_NAME	30
 #define VDI_LIST_W_ADMIN	 7
-#define VDI_LIST_W_PROBE	10
+#define VDI_LIST_W_PROBE	14
 
 struct vcldir;
 


More information about the varnish-commit mailing list