From 36dffc816a9c1699bad16c03750ce7829f0343c8 Mon Sep 17 00:00:00 2001 From: Tobias Ulmer Date: Tue, 20 Sep 2016 16:48:26 +0200 Subject: [PATCH] cache: rename result_server to results Signed-off-by: Tobias Ulmer --- generic/cache.lua | 2 +- local/policy.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/generic/cache.lua b/generic/cache.lua index ebc9979..0fa5010 100644 --- a/generic/cache.lua +++ b/generic/cache.lua @@ -154,7 +154,7 @@ local _server_names = strict.lock({ proj_storage = "proj-storage", projects = "projects", upstream = "upstream", - result_server = "results", + results = "results", releases = "releases", }) diff --git a/local/policy.lua b/local/policy.lua index af92ddb..4e0eac1 100644 --- a/local/policy.lua +++ b/local/policy.lua @@ -67,7 +67,7 @@ end -- @return Server name (string). -- @return Location path to store results in (string). local function storage_release(location, release_id) - return cache.server_names().result_server, + return cache.server_names().results, string.format("%s/release/%s", location, release_id) end @@ -77,7 +77,7 @@ end -- @return Server name (string). -- @return Location path to store results in (string). local function storage_default(location, release_id) - return cache.server_names().result_server, + return cache.server_names().results, string.format("%s/shared", location) end -- 2.39.5