You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by al...@apache.org on 2016/08/26 13:33:38 UTC

mesos git commit: Fixed a typo in HealthChecker.

Repository: mesos
Updated Branches:
  refs/heads/master 9d0976f73 -> 27467c0f6


Fixed a typo in HealthChecker.

Review: https://reviews.apache.org/r/51446/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/27467c0f
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/27467c0f
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/27467c0f

Branch: refs/heads/master
Commit: 27467c0f637f582a153681692f7dd4c673459a9e
Parents: 9d0976f
Author: Gast�n Kleiman <ga...@mesosphere.com>
Authored: Fri Aug 26 15:32:42 2016 +0200
Committer: Alexander Rukletsov <al...@apache.org>
Committed: Fri Aug 26 15:32:42 2016 +0200

----------------------------------------------------------------------
 src/health-check/health_checker.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/27467c0f/src/health-check/health_checker.cpp
----------------------------------------------------------------------
diff --git a/src/health-check/health_checker.cpp b/src/health-check/health_checker.cpp
index 5bdbd2a..1a2a6df 100644
--- a/src/health-check/health_checker.cpp
+++ b/src/health-check/health_checker.cpp
@@ -354,7 +354,7 @@ Option<Error> healthCheck(const HealthCheck& check)
     const HealthCheck::HTTPCheckInfo& http = check.http();
 
     if (http.has_scheme() &&
-        http.scheme() != "https" &&
+        http.scheme() != "http" &&
         http.scheme() != "https") {
       return Error("Unsupported HTTP health check scheme: '" + http.scheme() +
                    "'");