mirror of
https://github.com/TwiN/gatus.git
synced 2026-02-16 10:56:11 +00:00
Fix typo
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user