From b1ade95afd74a1ab95e4081e9f7cb406813a751c Mon Sep 17 00:00:00 2001 From: Ben Wells Date: Sat, 15 Aug 2020 20:56:51 +0100 Subject: [PATCH] Fix recursive calls in mock Signed-off-by: Ben Wells Signed-off-by: Kingdon Barrett --- pkg/cluster/mock/mock.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cluster/mock/mock.go b/pkg/cluster/mock/mock.go index 7d2853ca6..acd835c9a 100644 --- a/pkg/cluster/mock/mock.go +++ b/pkg/cluster/mock/mock.go @@ -81,9 +81,9 @@ func (m *Mock) CreateManifestPatch(originalManifests, modifiedManifests []byte, } func (m *Mock) ApplyManifestPatch(originalManifests, patch []byte, originalSource, patchSource string) ([]byte, error) { - return m.ApplyManifestPatch(originalManifests, patch, originalSource, patchSource) + return m.ApplyManifestPatchFunc(originalManifests, patch, originalSource, patchSource) } func (m *Mock) AppendManifestToBuffer(b []byte, buf *bytes.Buffer) error { - return m.AppendManifestToBuffer(b, buf) + return m.AppendManifestToBufferFunc(b, buf) }