You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ig...@apache.org on 2012/08/20 12:12:18 UTC
git commit: TS-1412 Traffic shell always suggests a hard restart on
config change
Updated Branches:
refs/heads/master f19a13b43 -> 938279e44
TS-1412 Traffic shell always suggests a hard restart on config change
Author: Uri Shachar
Review/Commit: igalic
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/938279e4
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/938279e4
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/938279e4
Branch: refs/heads/master
Commit: 938279e447b8740e20d2b00e885cd90499959b13
Parents: f19a13b
Author: Igor Galić <i....@brainsware.org>
Authored: Mon Aug 20 12:11:07 2012 +0200
Committer: Igor Galić <i....@brainsware.org>
Committed: Mon Aug 20 12:11:07 2012 +0200
----------------------------------------------------------------------
mgmt/api/CoreAPI.cc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/938279e4/mgmt/api/CoreAPI.cc
----------------------------------------------------------------------
diff --git a/mgmt/api/CoreAPI.cc b/mgmt/api/CoreAPI.cc
index 241fb67..93a90a0 100644
--- a/mgmt/api/CoreAPI.cc
+++ b/mgmt/api/CoreAPI.cc
@@ -381,7 +381,7 @@ determine_action_need(const char *rec_name)
{
RecUpdateT update_t;
- if (REC_ERR_OKAY == RecGetRecordUpdateType(rec_name, &update_t))
+ if (REC_ERR_OKAY != RecGetRecordUpdateType(rec_name, &update_t))
return TS_ACTION_UNDEFINED;
switch (update_t) {
@@ -394,7 +394,7 @@ determine_action_need(const char *rec_name)
case RECU_RESTART_TS: // requires TS restart
return TS_ACTION_RESTART;
- case RECU_RESTART_TM: // requirs TM/TS restart
+ case RECU_RESTART_TM: // requires TM/TS restart
return TS_ACTION_RESTART;
case RECU_RESTART_TC: // requires TC/TM/TS restart