summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/execution_service/bytestream_server.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/execution_api/execution_service/bytestream_server.hpp')
-rw-r--r--src/buildtool/execution_api/execution_service/bytestream_server.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildtool/execution_api/execution_service/bytestream_server.hpp b/src/buildtool/execution_api/execution_service/bytestream_server.hpp
index e2627328..b69b5344 100644
--- a/src/buildtool/execution_api/execution_service/bytestream_server.hpp
+++ b/src/buildtool/execution_api/execution_service/bytestream_server.hpp
@@ -16,8 +16,8 @@
#define BYTESTREAM_SERVER_HPP
#include "google/bytestream/bytestream.grpc.pb.h"
-#include "src/buildtool/execution_api/local/local_storage.hpp"
#include "src/buildtool/logging/logger.hpp"
+#include "src/buildtool/storage/storage.hpp"
class BytestreamServiceImpl : public ::google::bytestream::ByteStream::Service {
public:
@@ -76,7 +76,7 @@ class BytestreamServiceImpl : public ::google::bytestream::ByteStream::Service {
-> ::grpc::Status override;
private:
- LocalStorage storage_{};
+ gsl::not_null<Storage const*> storage_ = &Storage::Instance();
Logger logger_{"execution-service:bytestream"};
};