Skip to content

Commit

Permalink
perf: 容器化-支持各微服务按顺序更新 TencentBlueKing#919
Browse files Browse the repository at this point in the history
使用Service的EndPoint状态作为判断依据
  • Loading branch information
jsonwan committed Nov 30, 2022
1 parent 8976a25 commit 58a2526
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ private static String buildServiceEndpointNameSelector(String serviceName) {
if (k8sServiceNameMap.containsKey(serviceName)) {
serviceName = k8sServiceNameMap.get(serviceName);
}
return "name=" + serviceName;
return "metadata.name=" + serviceName;
}

/**
Expand Down

0 comments on commit 58a2526

Please sign in to comment.