Skip to content

Commit d537fd2

Browse files
committed
Use update timestamp for listAllNodes filter
1 parent 0370df0 commit d537fd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/registry/registry_svc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ func (s *RegistryService) ListNodes(
117117

118118
// Filter by CreateTime (timestamp)
119119
if filter.Timestamp != nil {
120-
predicates = append(predicates, node.CreateTimeGT(*filter.Timestamp))
120+
predicates = append(predicates, node.UpdateTimeGT(*filter.Timestamp))
121121
}
122122

123123
// Apply predicates to the query

0 commit comments

Comments
 (0)