From 4b5fa809806a624ec07e4a20518961a3d1175258 Mon Sep 17 00:00:00 2001 From: Marcus Holl Date: Fri, 31 Jul 2020 10:14:02 +0200 Subject: [PATCH] CfAPIOpts: remove leftovers (#1871) we don't have any cf api calls anymore in the context of cf login. --- pkg/cloudfoundry/Authentication.go | 1 - pkg/cloudfoundry/CloudFoundry_test.go | 3 --- 2 files changed, 4 deletions(-) diff --git a/pkg/cloudfoundry/Authentication.go b/pkg/cloudfoundry/Authentication.go index 95878b8c9..a40d4965b 100644 --- a/pkg/cloudfoundry/Authentication.go +++ b/pkg/cloudfoundry/Authentication.go @@ -92,7 +92,6 @@ type LoginOptions struct { CfSpace string Username string Password string - CfAPIOpts []string CfLoginOpts []string } diff --git a/pkg/cloudfoundry/CloudFoundry_test.go b/pkg/cloudfoundry/CloudFoundry_test.go index 126e7d4a5..cf296e1cb 100644 --- a/pkg/cloudfoundry/CloudFoundry_test.go +++ b/pkg/cloudfoundry/CloudFoundry_test.go @@ -136,9 +136,6 @@ func TestCloudFoundryLogin(t *testing.T) { "--skip-ssl-validation", "--origin", "ldap", }, - CfAPIOpts: []string{ - "--skip-ssl-validation", - }, } cf := CFUtils{Exec: m} err := cf.Login(cfconfig)