Skip to content

Commit fff4c91

Browse files
committed
fix linter error
Signed-off-by: KentHsu <[email protected]>
1 parent 3198d9c commit fff4c91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/dashboard.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ dapr dashboard -k -p 0
181181
}()
182182

183183
// url for dashboard after port forwarding.
184-
webURL := fmt.Sprintf("http://%s", net.JoinHostPort(dashboardHost, strconv.Itoa(portForward.LocalPort)))
184+
webURL := "http://" + net.JoinHostPort(dashboardHost, strconv.Itoa(portForward.LocalPort))
185185

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

0 commit comments

Comments
 (0)