提交 2c0f2a42 编写于 作者: T tstromberg

Append newline to --url output

上级 f60764b0
......@@ -84,12 +84,12 @@ var serviceCmd = &cobra.Command{
_, err := url.Parse(u)
if err != nil {
glog.Warning("could not parse %v (will not open)", u, err)
out.String(u)
out.String(fmt.Sprintf("%s\n", u))
continue
}
if serviceURLMode {
out.String(u)
out.String(fmt.Sprintf("%s\n", u))
continue
}
out.T(out.Celebrate, "Opening service {{.namespace_name}}/{{.service_name}} in default browser...", out.V{"namespace_name": namespace, "service_name": svc})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册