pull/1/MERGE
tanghc 5 years ago
parent fab1a88d78
commit e8e6fc4ce4
  1. 2
      sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/manager/DefaultEnvGrayManager.java

@ -49,7 +49,7 @@ public class DefaultEnvGrayManager implements EnvGrayManager {
} }
private ServiceGrayConfig getGrayConfig(String serviceId) { private ServiceGrayConfig getGrayConfig(String serviceId) {
if (serviceId == null) { if (serviceId == null || !instanceIdServiceIdMap.containsValue(serviceId)) {
return null; return null;
} }
return serviceGrayConfigMap.get(serviceId); return serviceGrayConfigMap.get(serviceId);

Loading…
Cancel
Save