Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Shawnh2 <[email protected]>
  • Loading branch information
shawnh2 committed Apr 17, 2023
1 parent 00351d0 commit 651b5fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/gatewayapi/address.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ func (t *Translator) ProcessAddresses(gateways []*GatewayContext, xdsIR XdsIRMap
}
}

gwInfraIR.Proxy.Addresses = sets.List(ipAddr)
if ip := sets.List(ipAddr); len(ip) > 0 {
gwInfraIR.Proxy.Addresses = ip
}
}
}

0 comments on commit 651b5fa

Please sign in to comment.