1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-14 11:57:59 +00:00

fix: remove unneeded SetProvider func

This commit is contained in:
Moritz Johner 2020-12-09 08:20:07 +01:00
parent f1fb6cfa06
commit bea6994f42

View file

@ -41,11 +41,6 @@ func (c *SecretStore) GetProvider() *SecretStoreProvider {
return c.Spec.Provider 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 // Copy returns a DeepCopy of the Store
func (c *SecretStore) Copy() GenericStore { func (c *SecretStore) Copy() GenericStore {
return c.DeepCopy() return c.DeepCopy()