diff options
Diffstat (limited to 'helperPatches.go')
| -rw-r--r-- | helperPatches.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/helperPatches.go b/helperPatches.go index 790ffda..c09730a 100644 --- a/helperPatches.go +++ b/helperPatches.go @@ -12,7 +12,6 @@ import ( "strings" "go.wit.com/lib/protobuf/forgepb" - "go.wit.com/lib/protobuf/gitpb" "go.wit.com/log" ) @@ -149,7 +148,7 @@ func isPatchIdApplied(patch *forgepb.Patch) error { return log.Errorf("patch: not found hash: %s %s %s %s %v", patch.CommitHash, patch.Namespace, comment, newhash, err) } - patchId, err := repo.FindPatchId(newhash) + patchId, err := repo.FindPatchIdByHash(newhash) if err != nil { return err } @@ -176,7 +175,7 @@ func setNewCommitHash(patch *forgepb.Patch) error { return log.Errorf("patch: not found hash: %s %s %s %s %v", patch.CommitHash, patch.Namespace, comment, newhash, err) } - patchId, err := repo.FindPatchId(newhash) + patchId, err := repo.FindPatchIdByHash(newhash) if err != nil { return err } |
