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

[trafficserver] branch master updated: Moves hosting.config finished loading message outside of parsing loop

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

rrm 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 194c541  Moves hosting.config finished loading message outside of parsing loop
194c541 is described below

commit 194c541a42249c1c68bf6f99218817f9c05c1dc2
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
---
 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,