This commit is contained in:
TwinProduction 2021-07-11 19:51:47 -04:00 committed by Chris
parent 9b68582622
commit 7aed826d65

View File

@ -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
// no more than 20 results in the Results slice
// no more than MaximumNumberOfResults results in the Results slice
func (ss *ServiceStatus) AddResult(result *Result) {
if len(ss.Results) > 0 {
// Check if there's any change since the last result