stuff
This commit is contained in:
parent
cba7ba7dbe
commit
ae8c58bfda
@ -102,7 +102,7 @@ var workers = (function(){
|
|||||||
doapi.dropletsByTag('clworker', function(data){
|
doapi.dropletsByTag('clworker', function(data){
|
||||||
data = JSON.parse(data);
|
data = JSON.parse(data);
|
||||||
console.log('current worker ids', currentIDs)
|
console.log('current worker ids', currentIDs)
|
||||||
console.log('do droplets', data)
|
console.log('do droplets', data['droplets'].length, data['droplets'])
|
||||||
data['droplets'].forEach(function(worker){
|
data['droplets'].forEach(function(worker){
|
||||||
console.log('checking', worker.id)
|
console.log('checking', worker.id)
|
||||||
if(~currentIDs.indexOf(worker.id)) return false;
|
if(~currentIDs.indexOf(worker.id)) return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user