diff options
| author | Jeff Carr <[email protected]> | 2025-10-06 21:58:55 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-06 21:58:55 -0500 |
| commit | abf2951624b39f7633a938a0c8dc681fac1257aa (patch) | |
| tree | 2413fcde026568d2bb348630e775548ecad910f5 /helperPatches.go | |
| parent | a45fd1beed715914b36baf6c9dfa157801b75d6d (diff) | |
patchId wasn't been checked correctly
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 } |
