Fix formatting
Signed-off-by: Michael Kelly <mkelly@arista.com>
This commit is contained in:
parent
a51d12056f
commit
9079c31637
1 changed files with 2 additions and 1 deletions
|
@ -84,7 +84,8 @@ func offlineTokenName(userID string, connID string, h func() hash.Hash) string {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (cli *client) urlForWithParams(
|
func (cli *client) urlForWithParams(
|
||||||
apiVersion, namespace, resource, name string, params url.Values) string {
|
apiVersion, namespace, resource, name string, params url.Values,
|
||||||
|
) string {
|
||||||
basePath := "apis/"
|
basePath := "apis/"
|
||||||
if apiVersion == "v1" {
|
if apiVersion == "v1" {
|
||||||
basePath = "api/"
|
basePath = "api/"
|
||||||
|
|
Reference in a new issue