Rename RESET_OVERRIDE to CANCEL_OVERRIDE

This commit is contained in:
Spencer Gibb
2017-01-25 14:23:34 -07:00
parent d76bd84466
commit 41bf8eadfd

View File

@@ -77,7 +77,7 @@ public class EurekaServiceRegistry implements ServiceRegistry<EurekaRegistration
InstanceInfo info = registration.getApplicationInfoManager().getInfo();
//TODO: howto deal with delete properly?
if ("RESET_OVERRIDE".equalsIgnoreCase(status)) {
if ("CANCEL_OVERRIDE".equalsIgnoreCase(status)) {
registration.getEurekaClient().cancelOverrideStatus(info);
return;
}