Skip to content

Commit

Permalink
push: Print push return code in example
Browse files Browse the repository at this point in the history
  • Loading branch information
gjasny committed Jun 8, 2019
1 parent 4d6b61a commit 87e024b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion push/tests/integration/sample_client.cc
@@ -1,4 +1,5 @@
#include <chrono>
#include <iostream>
#include <map>
#include <memory>
#include <string>
Expand Down Expand Up @@ -56,7 +57,8 @@ int main() {
second_counter.Increment();

// push metrics
gateway.Push();
auto returnCode = gateway.Push();
std::cout << "returnCode is " << returnCode << std::endl;
}
return 0;
}

0 comments on commit 87e024b

Please sign in to comment.