@@ -59,7 +59,6 @@ class Provisioner {
5959 return this . setupDigitalOcean_ ( name ) ;
6060 // Setup Digital Ocean (SSH key + droplet)
6161 } ) . then ( ( ) => {
62- //console.log(actions);
6362 return this . doRequest_ ( "GET" , "droplets/" + this . state_ . cloud . vm . id ) ;
6463 // Get the droplet's configuration
6564 } ) . then ( ( resp : any ) => {
@@ -285,7 +284,6 @@ class Provisioner {
285284 this . sendStatus_ ( "CLOUD_INIT_ADDKEY" ) ;
286285 // Get SSH keys in account
287286 this . doRequest_ ( "GET" , "account/keys" ) . then ( ( resp : any ) => {
288- //console.log(resp);
289287 for ( var i = 0 ; i < resp . ssh_keys . length ; i ++ ) {
290288 if ( resp . ssh_keys [ i ] . public_key === this . state_ . ssh . public ) {
291289 return Promise . resolve ( {
@@ -300,14 +298,12 @@ class Provisioner {
300298 } ) ) ;
301299 // If missing, put SSH key into account
302300 } ) . then ( ( resp : any ) => {
303- //console.log(resp);
304301 this . state_ . cloud . ssh = resp . ssh_key ;
305302 this . sendStatus_ ( "CLOUD_DONE_ADDKEY" ) ;
306303 this . sendStatus_ ( "CLOUD_INIT_VM" ) ;
307304 return this . doRequest_ ( "GET" , "droplets" ) ;
308305 // Get list of droplets
309306 } ) . then ( ( resp : any ) => {
310- //console.log(resp);
311307 for ( var i = 0 ; i < resp . droplets . length ; i ++ ) {
312308 if ( resp . droplets [ i ] . name === name ) {
313309 return Promise . resolve ( {
@@ -325,7 +321,6 @@ class Provisioner {
325321 } ) ) ;
326322 // If missing, create the droplet
327323 } ) . then ( ( resp : any ) => {
328- //console.log(resp);
329324 this . state_ . cloud . vm = resp . droplet ;
330325 if ( resp . droplet . status == "off" ) {
331326 // Need to power on VM
@@ -339,7 +334,6 @@ class Provisioner {
339334 }
340335 // If the machine exists, but powered off, turn it on
341336 } ) . then ( ( resp : any ) => {
342- //console.log(resp);
343337 this . sendStatus_ ( "CLOUD_WAITING_VM" ) ;
344338 this . waitDigitalOceanActions_ ( ) . then ( F , R ) ;
345339 // Wait for all in-progress actions to complete
0 commit comments