Skip to content

Commit c7bea9b

Browse files
authored
fixed string type conversion issue (#430)
1 parent 1e2a2fd commit c7bea9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/appgw/istio_pools.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func (c *appGwConfigBuilder) getIstioBackendAddressPool(destinationID istioDesti
2626
if _, portExists := getUniqueTCPPorts(subset)[serviceBackendPair.BackendPort]; portExists {
2727
backendServicePort := ""
2828
if destinationID.Destination.Port.Number != 0 {
29-
backendServicePort = string(destinationID.Destination.Port.Number)
29+
backendServicePort = fmt.Sprint(destinationID.Destination.Port.Number)
3030
} else {
3131
backendServicePort = destinationID.Destination.Port.Name
3232
}

0 commit comments

Comments
 (0)