Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Fix recursive calls in mock
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Wells <b.v.wells@gmail.com>
Signed-off-by: Kingdon Barrett <kingdon@weave.works>
  • Loading branch information
bvwells authored and Kingdon Barrett committed Apr 23, 2021
1 parent 9beb95e commit b1ade95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/cluster/mock/mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit b1ade95

Please sign in to comment.