Skip to content

Commit

Permalink
Make Murmur warn if any of the grpc options are set, but the binary i…
Browse files Browse the repository at this point in the history
…s built without gRPC support.
  • Loading branch information
mkrautz committed Jul 23, 2017
1 parent 863cb3b commit c0be50a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/murmur/main.cpp
Expand Up @@ -557,6 +557,10 @@ int main(int argc, char **argv) {

#ifdef USE_GRPC
GRPCStart();
#else
if (!meta->mp.qsGRPCAddress.isEmpty() || !meta->mp.qsGRPCCert.isEmpty() || !meta->mp.qsGRPCKey.isEmpty()) {
qWarning("This version of Murmur was built without gRPC support. Ignoring 'grpc' option from configuration file.");
}
#endif

meta->getOSInfo();
Expand Down

0 comments on commit c0be50a

Please sign in to comment.