summaryrefslogtreecommitdiff
path: root/test/utils/remote_execution/main-remote-execution.cpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-06-17 11:28:47 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-07-05 12:58:35 +0200
commitc88585ddf9386fb14154a4f3baa702569d55584a (patch)
tree05461204866831ab88364981390dae474f16247d /test/utils/remote_execution/main-remote-execution.cpp
parent8c73c618d777a07c017ec0deefe88db83652827e (diff)
downloadjustbuild-c88585ddf9386fb14154a4f3baa702569d55584a.tar.gz
Use StorageConfig functionality via Instance()
...to track changes during refactoring easier.
Diffstat (limited to 'test/utils/remote_execution/main-remote-execution.cpp')
-rw-r--r--test/utils/remote_execution/main-remote-execution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/utils/remote_execution/main-remote-execution.cpp b/test/utils/remote_execution/main-remote-execution.cpp
index 7b5cba00..9c6edbc1 100644
--- a/test/utils/remote_execution/main-remote-execution.cpp
+++ b/test/utils/remote_execution/main-remote-execution.cpp
@@ -70,7 +70,7 @@ void wait_for_grpc_to_shutdown() {
[[nodiscard]] auto ConfigureBuildRoot() -> bool {
auto cache_dir = FileSystemManager::GetCurrentDirectory() / "cache";
if (not FileSystemManager::CreateDirectoryExclusive(cache_dir) or
- not StorageConfig::SetBuildRoot(cache_dir)) {
+ not StorageConfig::Instance().SetBuildRoot(cache_dir)) {
return false;
}
// After the build root has been changed, the file roots of the