Skip to content

Commit

Permalink
fix:issue #1209
Browse files Browse the repository at this point in the history
  • Loading branch information
chuntaojun committed Aug 23, 2023
1 parent 6fbc13b commit fcfdec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apiserver/xdsserverv3/resource/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func (PolarisNodeHash) ID(node *core.Node) string {
if gatewayNamespace == "" {
gatewayNamespace = node.Metadata.Fields[OldGatewayNamespaceName].GetStringValue()
}
if gatewayNamespace == "" {
if gatewayService == "" {
gatewayService = node.Metadata.Fields[OldGatewayServiceName].GetStringValue()
}
if gatewayNamespace == "" {
Expand Down

0 comments on commit fcfdec3

Please sign in to comment.