aboutsummaryrefslogtreecommitdiff
path: root/src/zenremotestore/projectstore/projectstoreoperations.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zenremotestore/projectstore/projectstoreoperations.cpp')
-rw-r--r--src/zenremotestore/projectstore/projectstoreoperations.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenremotestore/projectstore/projectstoreoperations.cpp b/src/zenremotestore/projectstore/projectstoreoperations.cpp
index 7dd85531c..becac3d4c 100644
--- a/src/zenremotestore/projectstore/projectstoreoperations.cpp
+++ b/src/zenremotestore/projectstore/projectstoreoperations.cpp
@@ -433,7 +433,7 @@ ProjectStoreOperationDownloadAttachments::Execute()
if (!Payload)
{
Payload = m_Storage.BuildStorage->GetBuildBlob(m_State.GetBuildId(), RawHash);
- if (m_Storage.BuildCacheStorage)
+ if (m_Storage.BuildCacheStorage && m_Options.PopulateCache)
{
m_Storage.BuildCacheStorage->PutBuildBlob(m_State.GetBuildId(),
RawHash,