You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2020/03/16 21:19:08 UTC

[trafficserver] 03/03: Moves hosting.config finished loading message outside of parsing loop

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

zwoop pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit 82f31b346f8513568bb211e5e0d599d4f5d5766c
Author: Randall Meyer <rr...@apache.org>
AuthorDate: Fri Mar 13 09:32:36 2020 -0700

    Moves hosting.config finished loading message outside of parsing loop
    
    (cherry picked from commit 194c541a42249c1c68bf6f99218817f9c05c1dc2)
---
 iocore/cache/CacheHosting.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/iocore/cache/CacheHosting.cc b/iocore/cache/CacheHosting.cc
index d968d5f..f7754d2 100644
--- a/iocore/cache/CacheHosting.cc
+++ b/iocore/cache/CacheHosting.cc
@@ -375,10 +375,10 @@ CacheHostTable::BuildTableFromString(const char *config_file_path, char *file_bu
     last    = current;
     current = current->next;
     ats_free(last);
-
-    Note("%s finished loading", ts::filename::HOSTING);
   }
 
+  Note("%s finished loading", ts::filename::HOSTING);
+
   if (!generic_rec_initd) {
     const char *cache_type = (type == CACHE_HTTP_TYPE) ? "http" : "mixt";
     RecSignalWarning(REC_SIGNAL_CONFIG_ERROR,