diff --git a/pkg/resource/fake/mocks.go b/pkg/resource/fake/mocks.go index 98efd977e..6fd73a3d4 100644 --- a/pkg/resource/fake/mocks.go +++ b/pkg/resource/fake/mocks.go @@ -64,7 +64,7 @@ func (m *ManagedResourceReferencer) SetResourceReference(r *corev1.ObjectReferen func (m *ManagedResourceReferencer) GetResourceReference() *corev1.ObjectReference { return m.Ref } // ProviderConfigReferencer is a mock that implements ProviderConfigReferencer interface. -type ProviderConfigReferencer struct{ Ref *xpv1.Reference } +type ProviderConfigReferencer struct{ Ref *xpv1.Reference } //nolint:musttag // This is a fake implementation to be used in unit tests only. // SetProviderConfigReference sets the ProviderConfigReference. func (m *ProviderConfigReferencer) SetProviderConfigReference(p *xpv1.Reference) { m.Ref = p }