We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 035c7f0 commit 7b6bc9eCopy full SHA for 7b6bc9e
prober/history.go
@@ -78,7 +78,7 @@ func (rh *ResultHistory) List() []*Result {
78
return append(rh.preservedFailedResults[:], rh.results...)
79
}
80
81
-// Get returns a given result by id.
+// GetById returns a given result by id.
82
func (rh *ResultHistory) GetById(id int64) *Result {
83
rh.mu.Lock()
84
defer rh.mu.Unlock()
@@ -97,7 +97,7 @@ func (rh *ResultHistory) GetById(id int64) *Result {
97
return nil
98
99
100
-// Get returns a given result by url, optionally filtered by a module name.
+// GetByTarget returns a given result by url, optionally filtered by a module name.
101
func (rh *ResultHistory) GetByTarget(target string, module string) *Result {
102
103
0 commit comments