Merge pull request #13279 from pmorie/client-host-err

Auto commit by PR queue bot
pull/6/head
k8s-merge-robot 2015-08-28 12:02:59 -07:00
commit 98801225d6
1 changed files with 1 additions and 1 deletions

View File

@ -479,7 +479,7 @@ func DefaultServerURL(host, prefix, version string, defaultTLS bool) (*url.URL,
return nil, err
}
if hostURL.Path != "" && hostURL.Path != "/" {
return nil, fmt.Errorf("host must be a URL or a host:port pair: %s", base)
return nil, fmt.Errorf("host must be a URL or a host:port pair: %q", base)
}
}