From 59c531666796fe1051e9146eab74990ea73c8949 Mon Sep 17 00:00:00 2001 From: Charles Treatman Date: Fri, 17 May 2024 09:55:32 -0500 Subject: [PATCH] chore: remove trailing slash from API base URL --- cmd/cli.go | 2 +- test/helper/helper.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/cli.go b/cmd/cli.go index 953249e9..ea9875ff 100644 --- a/cmd/cli.go +++ b/cmd/cli.go @@ -46,7 +46,7 @@ var ( const ( consumerToken = "Equinix Metal CLI" apiTokenEnvVar = "METAL_AUTH_TOKEN" - apiURL = "https://api.equinix.com/metal/v1/" + apiURL = "https://api.equinix.com/metal/v1" ) // NewCli struct diff --git a/test/helper/helper.go b/test/helper/helper.go index 0e81dbc0..d5f80edc 100644 --- a/test/helper/helper.go +++ b/test/helper/helper.go @@ -19,7 +19,7 @@ import ( const ( ConsumerToken = "" - URL = "https://api.equinix.com/metal/v1/" + URL = "https://api.equinix.com/metal/v1" Version = "metal" )