aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@oath.com>2018-02-14 14:03:09 +0000
committerTor Egge <Tor.Egge@oath.com>2018-02-14 14:03:09 +0000
commitbb7bff48f5cfd64b3207f296950cb9b1c1c53004 (patch)
tree755891dbba52ccfd945a4e484775092cbf78dc6c
parenta842c5d66a75bc73665a3ea6b9a1c2ba557b83ee (diff)
Don't suppress warnings if protocol version is version6_0.
-rw-r--r--storageapi/src/vespa/storageapi/mbusprot/storageprotocol.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/storageapi/src/vespa/storageapi/mbusprot/storageprotocol.cpp b/storageapi/src/vespa/storageapi/mbusprot/storageprotocol.cpp
index e5b9b1f9102..30d6f5bd45c 100644
--- a/storageapi/src/vespa/storageapi/mbusprot/storageprotocol.cpp
+++ b/storageapi/src/vespa/storageapi/mbusprot/storageprotocol.cpp
@@ -119,8 +119,8 @@ StorageProtocol::encode(const vespalib::Version& version,
}
} catch (std::exception & e) {
- if (version < version6_0 &&
- !suppressEncodeWarning(message.getInternalMessage().get())) {
+ if (!(version < version6_0 &&
+ suppressEncodeWarning(message.getInternalMessage().get()))) {
LOGBP(warning, "Failed to encode %s storage protocol message %s: %s",
version.toString().c_str(),
message.getInternalMessage()->toString().c_str(),