summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@oath.com>2018-02-08 14:28:03 +0000
committerTor Egge <Tor.Egge@oath.com>2018-02-08 14:28:03 +0000
commit1cd7e4eb132ce770f0c6a74fd6b53fa0d7b201d6 (patch)
tree802aef363293a79258248cf60a7ff536b0f63038 /storage
parent1b17fc660f8bc188c53db8fca044d6d4d4c2fc29 (diff)
Style fix.
Diffstat (limited to 'storage')
-rw-r--r--storage/src/vespa/storage/distributor/pendingclusterstate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/src/vespa/storage/distributor/pendingclusterstate.cpp b/storage/src/vespa/storage/distributor/pendingclusterstate.cpp
index d5d105c862b..3c96bc55161 100644
--- a/storage/src/vespa/storage/distributor/pendingclusterstate.cpp
+++ b/storage/src/vespa/storage/distributor/pendingclusterstate.cpp
@@ -233,7 +233,7 @@ PendingClusterState::onRequestBucketInfoReply(const std::shared_ptr<api::Request
const BucketSpaceAndNode bucketSpaceAndNode = iter->second;
api::ReturnCode result(reply->getResult());
- if (result== api::ReturnCode::Result::ENCODE_ERROR) {
+ if (result == api::ReturnCode::Result::ENCODE_ERROR) {
// Handle failure to encode bucket space due to use of old storage api
// protocol. Pretend that request succeeded with no buckets returned.
LOG(debug, "Got ENCODE_ERROR, pretending success with no buckets");