Skip to content

Commit

Permalink
fix: Fix build error for int to string conversion
Browse files Browse the repository at this point in the history
Signed-off-by: liufeng <liuf@kubesphere.io>
  • Loading branch information
imneov committed Sep 26, 2022
1 parent cc76c16 commit 60d94c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ dapr dashboard -k -p 0
}()

// url for dashboard after port forwarding.
var webURL string = net.JoinHostPort(dashboardHost, string(portForward.LocalPort))
var webURL string = net.JoinHostPort(dashboardHost, fmt.Sprint(portForward.LocalPort))

print.InfoStatusEvent(os.Stdout, fmt.Sprintf("Dapr dashboard found in namespace:\t%s", foundNamespace))
print.InfoStatusEvent(os.Stdout, fmt.Sprintf("Dapr dashboard available at:\t%s\n", webURL))
Expand Down

0 comments on commit 60d94c4

Please sign in to comment.