Skip to content

Commit

Permalink
[docker build] Forgot a slash :(
Browse files Browse the repository at this point in the history
  • Loading branch information
euskalhenriko committed Feb 10, 2025
1 parent d5c02c6 commit 81032d6
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ protected boolean downloadChunk(int chunk, String variable, File destinationDire

// retrieve the job id
String endpoint = getEndpointUrl("/processes/" + this.dataset + "/execute");
Logging.INSTANCE.info("Ask for job id: " + endpoint + " with key " + apiKey + "\n" + jsonBody);
Logging.INSTANCE.info("Ask for job id: " + endpoint + "\n" + jsonBody);
HttpResponse<JsonNode> response = Unirest.post(endpoint)
.header(CDS_API_KEY_HEADER, apiKey)
.header("Content-Type", "application/json")
Expand Down Expand Up @@ -177,8 +177,8 @@ protected boolean downloadChunk(int chunk, String variable, File destinationDire
/*
* inquire about task
*/
endpoint = getEndpointUrl("jobs/" + requestId);
Logging.INSTANCE.info("Ask for job status: " + endpoint + " with key " + apiKey + "\n" + jsonBody);
endpoint = getEndpointUrl("/jobs/" + requestId);
Logging.INSTANCE.info("Ask for job status: " + endpoint);
response = Unirest.get(endpoint)
.header("PRIVATE-TOKEN", apiKey)
.header("Content-Type", "application/json")
Expand All @@ -197,7 +197,7 @@ protected boolean downloadChunk(int chunk, String variable, File destinationDire
} while (time < TIMEOUT_SECONDS && !"successful".equals(status) && !"failed".equals(status));

// retrieve the job results
endpoint = getEndpointUrl("jobs/" + requestId + "/results");
endpoint = getEndpointUrl("/jobs/" + requestId + "/results");
Logging.INSTANCE.info("Ask for job results: " + endpoint + " with key " + apiKey + "\n" + jsonBody);
response = Unirest.get(endpoint)
.header("PRIVATE-TOKEN", apiKey)
Expand Down

0 comments on commit 81032d6

Please sign in to comment.