projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e6a756
)
11156: Fix infinite loop condition.
author
Tom Clegg <tom@curoverse.com>
Thu, 23 Feb 2017 19:04:42 +0000
(14:04 -0500)
committer
Tom Clegg <tom@curoverse.com>
Thu, 23 Feb 2017 19:04:42 +0000
(14:04 -0500)
closes #11156
sdk/go/dispatch/dispatch.go
patch
|
blob
|
history
diff --git
a/sdk/go/dispatch/dispatch.go
b/sdk/go/dispatch/dispatch.go
index fd507371b1c451bd15a5962b74fe6e4c989a44d9..4b22c6302345f3fe8eca18d0beb42b4b341dc441 100644
(file)
--- a/
sdk/go/dispatch/dispatch.go
+++ b/
sdk/go/dispatch/dispatch.go
@@
-130,7
+130,7
@@
func (d *Dispatcher) checkForUpdates(filters [][]interface{}) {
log.Printf("Error getting list of containers: %q", err)
return
}
- more = l
ist.ItemsAvailable > len(list.Items)
+ more = l
en(list.Items) > 0 && list.ItemsAvailable > len(list.Items)+offset
d.checkListForUpdates(list.Items)
}
}