From 91f7872781a19c6b0973c321a6d2a74ff5319876 Mon Sep 17 00:00:00 2001 From: Kirk Bater Date: Wed, 3 Jul 2024 15:16:44 -0400 Subject: [PATCH] lint --- pkg/ocm/connection-builder/connection.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pkg/ocm/connection-builder/connection.go b/pkg/ocm/connection-builder/connection.go index 0c92083e..e6161a5d 100644 --- a/pkg/ocm/connection-builder/connection.go +++ b/pkg/ocm/connection-builder/connection.go @@ -178,12 +178,3 @@ func (b *ConnectionBuilder) getAgent() string { } return "OCM-CLI/" + info.Version } - -// Returns the configured API URL or the one defined in the config file, otherwise -// return an empty string and let the sdk handle it -func (b *ConnectionBuilder) getApiUrl() string { - if b.apiUrlOverride != "" { - return b.apiUrlOverride - } - return "" -}