stuff
This commit is contained in:
parent
232e9b72bb
commit
651f3835e2
@ -84,6 +84,7 @@ var workers = (function(){
|
|||||||
workers.destroyOld = function(){
|
workers.destroyOld = function(){
|
||||||
doapi.dropletsByTag('clworker', function(data){
|
doapi.dropletsByTag('clworker', function(data){
|
||||||
data = JSON.parse(data);
|
data = JSON.parse(data);
|
||||||
|
console.log('dropletsByTag data:',data);
|
||||||
data['droplets'].forEach(function(worker){
|
data['droplets'].forEach(function(worker){
|
||||||
console.log('found old droplet, killing it');
|
console.log('found old droplet, killing it');
|
||||||
doapi.dropletDestroy(worker.id, function(){});
|
doapi.dropletDestroy(worker.id, function(){});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user