Skip to content
This repository has been archived by the owner on Mar 5, 2020. It is now read-only.

Commit

Permalink
Fix removes a container
Browse files Browse the repository at this point in the history
  • Loading branch information
SimpleMethod committed May 25, 2019
1 parent 0967c9d commit 9d43736
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public String[] containersIDRemove(String id) {
String[] returnArray = new String[3];
try {
HttpResponse<JsonNode> containersResponse = Unirest.delete(DOCKER_SOCKET + "/containers/" + id)
.header("Content-Type", "application/json").queryString("v", true).queryString("force", true).queryString("link", true).asJson();
.header("Content-Type", "application/json").queryString("v", false).queryString("force", true).queryString("link", false).asJson();
returnArray[0] = String.valueOf(containersResponse.getStatus());
returnArray[1] = containersResponse.getHeaders().toString();
if (containersResponse.getBody() != null) {
Expand Down

0 comments on commit 9d43736

Please sign in to comment.