From bea6994f42ac49984ac531ad94b709c5d67d0580 Mon Sep 17 00:00:00 2001 From: Moritz Johner Date: Wed, 9 Dec 2020 08:20:07 +0100 Subject: [PATCH] fix: remove unneeded SetProvider func --- api/v1alpha1/generic_store.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/api/v1alpha1/generic_store.go b/api/v1alpha1/generic_store.go index b2d0a8be6..6b01ba7e8 100644 --- a/api/v1alpha1/generic_store.go +++ b/api/v1alpha1/generic_store.go @@ -41,11 +41,6 @@ func (c *SecretStore) GetProvider() *SecretStoreProvider { return c.Spec.Provider } -// SetProvider sets the underlying provider -func (c *SecretStore) SetProvider(provider SecretStoreProvider) { - c.Spec.Provider = &provider -} - // Copy returns a DeepCopy of the Store func (c *SecretStore) Copy() GenericStore { return c.DeepCopy()