This is an automated email from the ASF dual-hosted git repository.

chhsiao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git

commit 2862d9c61f5d02cff4764a374c28f92129f1df62
Author: Chun-Hung Hsiao <[email protected]>
AuthorDate: Thu May 9 20:58:00 2019 -0700

    Made SLRP test's `metricName` helper static.
---
 src/tests/storage_local_resource_provider_tests.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tests/storage_local_resource_provider_tests.cpp 
b/src/tests/storage_local_resource_provider_tests.cpp
index 487047f..609aebc 100644
--- a/src/tests/storage_local_resource_provider_tests.cpp
+++ b/src/tests/storage_local_resource_provider_tests.cpp
@@ -499,7 +499,7 @@ public:
     return Resources::parse("cpus:0.1;mem:128").get() + additional;
   }
 
-  string metricName(const string& basename)
+  static string metricName(const string& basename)
   {
     return "resource_providers/" + stringify(TEST_SLRP_TYPE) + "." +
       stringify(TEST_SLRP_NAME) + "/" + basename;

Reply via email to