Fix formatting

Signed-off-by: Michael Kelly <mkelly@arista.com>
This commit is contained in:
Michael Kelly 2022-06-08 09:24:26 -07:00
parent a51d12056f
commit 9079c31637
No known key found for this signature in database
GPG key ID: 77F7FE93040ECF3E

View file

@ -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/"