fix linter error

Signed-off-by: KentHsu <chiahaohsu9@gmail.com>
This commit is contained in:
KentHsu 2025-05-13 22:09:22 +08:00
parent 3198d9ca7e
commit fff4c9158f
1 changed files with 1 additions and 1 deletions

View File

@ -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))