mirror of
https://github.com/TwiN/gatus.git
synced 2024-11-22 07:53:38 +01:00
Fix typo
This commit is contained in:
parent
9b68582622
commit
7aed826d65
@ -82,7 +82,7 @@ func (ss ServiceStatus) WithResultPagination(page, pageSize int) *ServiceStatus
|
|||||||
}
|
}
|
||||||
|
|
||||||
// AddResult adds a Result to ServiceStatus.Results and makes sure that there are
|
// AddResult adds a Result to ServiceStatus.Results and makes sure that there are
|
||||||
// no more than 20 results in the Results slice
|
// no more than MaximumNumberOfResults results in the Results slice
|
||||||
func (ss *ServiceStatus) AddResult(result *Result) {
|
func (ss *ServiceStatus) AddResult(result *Result) {
|
||||||
if len(ss.Results) > 0 {
|
if len(ss.Results) > 0 {
|
||||||
// Check if there's any change since the last result
|
// Check if there's any change since the last result
|
||||||
|
Loading…
Reference in New Issue
Block a user