From b6e92132db38343c6bf4658424026ee341ec7f23 Mon Sep 17 00:00:00 2001 From: muly Date: Tue, 28 Jul 2020 11:39:21 -0400 Subject: [PATCH] [#310] Declaration redundancy: Unused exported function * removed a unused exported function Closes: #310 Change-Id: Ib174b31cd68bdc2cf9a63dd89efd9beb8ab7d78e --- testutil/testconfig.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/testutil/testconfig.go b/testutil/testconfig.go index 6e63a207b..0491e268e 100644 --- a/testutil/testconfig.go +++ b/testutil/testconfig.go @@ -154,18 +154,6 @@ func DummyAuthInfo() *config.AuthInfo { return a } -// DummyKubeAuthInfo creates a AuthInfo kubeconfig object -// for unit testing -func DummyKubeAuthInfo() *kubeconfig.AuthInfo { - authinfo := kubeconfig.NewAuthInfo() - authinfo.Username = "dummy_username" - authinfo.Password = "dummy_password" - authinfo.ClientCertificate = "dummy_certificate" - authinfo.ClientKey = "dummy_key" - authinfo.Token = "dummy_token" - return authinfo -} - // DummyClusterPurpose creates ClusterPurpose config object for unit testing func DummyClusterPurpose() *config.ClusterPurpose { cp := config.NewClusterPurpose()