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)