From ea24ca1dc5b71dad6cb46dd57caefd6904206fd6 Mon Sep 17 00:00:00 2001 From: Xavier Chi Date: Tue, 11 Sep 2018 17:44:04 -0500 Subject: [PATCH] Fix storage.config path issue for runroot --- iocore/cache/Store.cc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/iocore/cache/Store.cc b/iocore/cache/Store.cc index 4788c4e305c..36f3422b732 100644 --- a/iocore/cache/Store.cc +++ b/iocore/cache/Store.cc @@ -391,12 +391,7 @@ Store::read_config() } } - std::string pp; - if (get_runroot().empty()) { - pp = Layout::get()->relative(path); - } else { - pp = Layout::get()->cachedir; - } + std::string pp = Layout::get()->relative(path); ns = new Span; Debug("cache_init", "Store::read_config - ns = new Span; ns->init(\"%s\",%" PRId64 "), forced volume=%d%s%s", pp.c_str(), size,