mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
代码优化
This commit is contained in:
@@ -40,7 +40,7 @@ public class DefaultEnvGrayManager implements EnvGrayManager {
|
|||||||
if (serviceId == null || nameVersion == null) {
|
if (serviceId == null || nameVersion == null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
boolean opened = instanceIdServiceIdMap.values().contains(serviceId);
|
boolean opened = instanceIdServiceIdMap.containsValue(serviceId);
|
||||||
// 没有开启灰度
|
// 没有开启灰度
|
||||||
if (!opened) {
|
if (!opened) {
|
||||||
return null;
|
return null;
|
||||||
|
Reference in New Issue
Block a user