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

Commit

Permalink
Merge pull request #3250 from bvwells/patch-1
Browse files Browse the repository at this point in the history
Fix recursive calls in mock
  • Loading branch information
Kingdon Barrett authored Apr 23, 2021
2 parents 9beb95e + b1ade95 commit 5777baa
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 5777baa

Please sign in to comment.