added dns api
This commit is contained in:
parent
432b056609
commit
08f3b1fce6
@ -48,7 +48,8 @@ var workers = (function(){
|
|||||||
if(workers.currentCreating > workers.currentCreatingMax ) return false;
|
if(workers.currentCreating > workers.currentCreatingMax ) return false;
|
||||||
return doapi.dropletCreate({
|
return doapi.dropletCreate({
|
||||||
name: 'clw'+workerSnapID+'-'+(Math.random()*100).toString().slice(-4),
|
name: 'clw'+workerSnapID+'-'+(Math.random()*100).toString().slice(-4),
|
||||||
image: '18473675'
|
image: '18473675',
|
||||||
|
size: '2gb'
|
||||||
}, function(data){
|
}, function(data){
|
||||||
data = JSON.parse(data);
|
data = JSON.parse(data);
|
||||||
workers.currentCreating++;
|
workers.currentCreating++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user