Skip to content

Commit

Permalink
Fix metrics proxy port (istio#15807)
Browse files Browse the repository at this point in the history
  • Loading branch information
kebe7jun authored and istio-testing committed Jul 24, 2019
1 parent 2604938 commit 14bf10a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion istioctl/cmd/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func run(c *cobra.Command, args []string) error {

// only use the first pod in the list
promPod := pl.Items[0]
fw, err := client.BuildPortForwarder(promPod.Name, istioNamespace, port, 9090)
fw, err := client.BuildPortForwarder(promPod.Name, istioNamespace, 0, 9090)
if err != nil {
return fmt.Errorf("could not build port forwarder for prometheus: %v", err)
}
Expand Down

0 comments on commit 14bf10a

Please sign in to comment.