mirror of
https://github.com/rancher/steve.git
synced 2025-09-18 00:08:17 +00:00
testing
This commit is contained in:
@@ -343,7 +343,7 @@ func (s *Store) WatchNames(apiOp *types.APIRequest, schema *types.APISchema, w t
|
||||
go func() {
|
||||
defer close(result)
|
||||
for item := range c {
|
||||
if item.Error != nil && names.Has(item.Object.Name()) {
|
||||
if item.Error == nil && names.Has(item.Object.Name()) {
|
||||
result <- item
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user