Repository: camel
Updated Branches:
  refs/heads/master 56305c24f -> 27fd4d158


Fix tests


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/27fd4d15
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/27fd4d15
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/27fd4d15

Branch: refs/heads/master
Commit: 27fd4d15807ed46933cb83d6da0c5d7d5ca4f05a
Parents: 56305c2
Author: lburgazzoli <lburgazz...@gmail.com>
Authored: Thu Mar 2 10:00:02 2017 +0100
Committer: lburgazzoli <lburgazz...@gmail.com>
Committed: Thu Mar 2 10:01:03 2017 +0100

----------------------------------------------------------------------
 .../java/org/apache/camel/impl/cloud/CachingServiceDiscovery.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/27fd4d15/camel-core/src/main/java/org/apache/camel/impl/cloud/CachingServiceDiscovery.java
----------------------------------------------------------------------
diff --git 
a/camel-core/src/main/java/org/apache/camel/impl/cloud/CachingServiceDiscovery.java
 
b/camel-core/src/main/java/org/apache/camel/impl/cloud/CachingServiceDiscovery.java
index dc99f88..1e4a595 100644
--- 
a/camel-core/src/main/java/org/apache/camel/impl/cloud/CachingServiceDiscovery.java
+++ 
b/camel-core/src/main/java/org/apache/camel/impl/cloud/CachingServiceDiscovery.java
@@ -74,7 +74,7 @@ public final class CachingServiceDiscovery implements 
ServiceDiscovery {
 
     @Override
     public List<ServiceDefinition> getServices(String name) {
-        return delegate.getServices(name);
+        return cache.get(name);
     }
 
     // **********************

Reply via email to