[ARVADOS] updated: 19dcf1ed20214b8349c76037ba8679db07bf44fc

Git user git at public.curoverse.com
Thu Feb 23 14:06:13 EST 2017


Summary of changes:
 sdk/go/dispatch/dispatch.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  19dcf1ed20214b8349c76037ba8679db07bf44fc (commit)
      from  1e6a756a10a1c0a77aeea5041844ba3a572bdd70 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 19dcf1ed20214b8349c76037ba8679db07bf44fc
Author: Tom Clegg <tom at curoverse.com>
Date:   Thu Feb 23 14:04:42 2017 -0500

    11156: Fix infinite loop condition.
    
    closes #11156

diff --git a/sdk/go/dispatch/dispatch.go b/sdk/go/dispatch/dispatch.go
index fd50737..4b22c63 100644
--- 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 = list.ItemsAvailable > len(list.Items)
+		more = len(list.Items) > 0 && list.ItemsAvailable > len(list.Items)+offset
 		d.checkListForUpdates(list.Items)
 	}
 }

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list