Skip to content

Commit 7b6bc9e

Browse files
committed
fix comment
Signed-off-by: Norwin Roosen <[email protected]>
1 parent 035c7f0 commit 7b6bc9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

prober/history.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func (rh *ResultHistory) List() []*Result {
7878
return append(rh.preservedFailedResults[:], rh.results...)
7979
}
8080

81-
// Get returns a given result by id.
81+
// GetById returns a given result by id.
8282
func (rh *ResultHistory) GetById(id int64) *Result {
8383
rh.mu.Lock()
8484
defer rh.mu.Unlock()
@@ -97,7 +97,7 @@ func (rh *ResultHistory) GetById(id int64) *Result {
9797
return nil
9898
}
9999

100-
// Get returns a given result by url, optionally filtered by a module name.
100+
// GetByTarget returns a given result by url, optionally filtered by a module name.
101101
func (rh *ResultHistory) GetByTarget(target string, module string) *Result {
102102
rh.mu.Lock()
103103
defer rh.mu.Unlock()

0 commit comments

Comments
 (0)