Removes RibbonCommand suffix.

This is a regression that was originally fixed in 1.1.x

Fixes gh-1308
This commit is contained in:
Garcia Florian
2016-08-31 22:56:10 +02:00
committed by Spencer Gibb
parent 959b007269
commit 85a1f3ec20

View File

@@ -75,7 +75,7 @@ public abstract class AbstractRibbonCommand<LBC extends AbstractLoadBalancerAwar
}
return Setter.withGroupKey(HystrixCommandGroupKey.Factory.asKey("RibbonCommand"))
.andCommandKey(HystrixCommandKey.Factory.asKey(commandKey + "RibbonCommand"))
.andCommandKey(HystrixCommandKey.Factory.asKey(commandKey))
.andCommandPropertiesDefaults(setter);
// @formatter:on
}