mirror of
https://github.com/TwiN/gatus.git
synced 2025-01-03 12:39:39 +01:00
Fix pagination in memory store
This commit is contained in:
parent
9384373f43
commit
2ef9329fa6
@ -62,7 +62,7 @@ func (s *Store) GetServiceStatusByKey(key string, params *paging.ServiceStatusPa
|
||||
if serviceStatus == nil {
|
||||
return nil
|
||||
}
|
||||
return serviceStatus.(*core.ServiceStatus)
|
||||
return ShallowCopyServiceStatus(serviceStatus.(*core.ServiceStatus), params)
|
||||
}
|
||||
|
||||
// Insert adds the observed result for the specified service into the store
|
||||
|
Loading…
Reference in New Issue
Block a user