mirror of https://github.com/dapr/cli.git
fix linter error
Signed-off-by: KentHsu <chiahaohsu9@gmail.com>
This commit is contained in:
parent
3198d9ca7e
commit
fff4c9158f
|
|
@ -181,7 +181,7 @@ dapr dashboard -k -p 0
|
|||
}()
|
||||
|
||||
// url for dashboard after port forwarding.
|
||||
webURL := fmt.Sprintf("http://%s", net.JoinHostPort(dashboardHost, strconv.Itoa(portForward.LocalPort)))
|
||||
webURL := "http://" + net.JoinHostPort(dashboardHost, strconv.Itoa(portForward.LocalPort))
|
||||
|
||||
print.InfoStatusEvent(os.Stdout, "Dapr dashboard found in namespace:\t"+foundNamespace)
|
||||
print.InfoStatusEvent(os.Stdout, fmt.Sprintf("Dapr dashboard available at:\t%s\n", webURL))
|
||||
|
|
|
|||
Loading…
Reference in New Issue