Skip to content

Commit

Permalink
fixed string type conversion issue (#430)
Browse files Browse the repository at this point in the history
  • Loading branch information
rheaj99 authored Jul 30, 2019
1 parent 1e2a2fd commit c7bea9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/appgw/istio_pools.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func (c *appGwConfigBuilder) getIstioBackendAddressPool(destinationID istioDesti
if _, portExists := getUniqueTCPPorts(subset)[serviceBackendPair.BackendPort]; portExists {
backendServicePort := ""
if destinationID.Destination.Port.Number != 0 {
backendServicePort = string(destinationID.Destination.Port.Number)
backendServicePort = fmt.Sprint(destinationID.Destination.Port.Number)
} else {
backendServicePort = destinationID.Destination.Port.Name
}
Expand Down

0 comments on commit c7bea9b

Please sign in to comment.