You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2019/01/11 01:59:56 UTC

[trafficserver] branch master updated: Bug in traffic_ctl, formatting output for config changes

This is an automated email from the ASF dual-hosted git repository.

bcall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 2f1bf25  Bug in traffic_ctl, formatting output for config changes
2f1bf25 is described below

commit 2f1bf2549674083de74a52753ed011fd57de657f
Author: Bryan Call <bc...@apache.org>
AuthorDate: Thu Jan 10 16:48:51 2019 -0800

    Bug in traffic_ctl, formatting output for config changes
---
 src/traffic_ctl/config.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/traffic_ctl/config.cc b/src/traffic_ctl/config.cc
index 378fb47..22198d2 100644
--- a/src/traffic_ctl/config.cc
+++ b/src/traffic_ctl/config.cc
@@ -416,7 +416,7 @@ CtrlEngine::config_diff()
         std::cout << rec_labelof(desc->rec_class) << ' ' << desc->rec_name << ' ' << rec_typeof(desc->rec_type) << ' '
                   << current.c_str() << " # default: " << deflt.c_str() << std::endl;
       } else {
-        std::cout << desc->rec_name << "has changed" << std::endl;
+        std::cout << desc->rec_name << " has changed" << std::endl;
         std::cout << "\tCurrent Value: " << current.c_str() << std::endl;
         std::cout << "\tDefault Value: " << deflt.c_str() << std::endl;
       }