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()