Selaa lähdekoodia

add missing uri base in DO driver stopNode

tags/v0.2.0
Jonathan Cobb 5 vuotta sitten
vanhempi
commit
a96491d109
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      bubble-server/src/main/java/bubble/cloud/compute/digitalocean/DigitalOceanDriver.java

+ 1
- 1
bubble-server/src/main/java/bubble/cloud/compute/digitalocean/DigitalOceanDriver.java Näytä tiedosto

@@ -240,7 +240,7 @@ public class DigitalOceanDriver extends ComputeServiceDriverBase {
cleanupStart(node); // just in case the key is still around
final HttpRequestBean destroyDropletRequest = auth(new HttpRequestBean()
.setMethod(DELETE)
.setUri("droplets?tag_name="+TAG_PREFIX_NODE+node.getUuid()));
.setUri(DO_API_BASE+"droplets?tag_name="+TAG_PREFIX_NODE+node.getUuid()));
final HttpResponseBean response = getResponse(destroyDropletRequest);
if (response.getStatus() != NO_CONTENT) {
throw invalidEx("err.node.stop.error", "stop: error stopping node: "+response);


Ladataan…
Peruuta
Tallenna