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

Commit

Permalink
Changing the settings for container removal
Browse files Browse the repository at this point in the history
  • Loading branch information
SimpleMethod committed Jun 8, 2019
1 parent 498d437 commit 4c08fcb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,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", false).queryString("force", true).queryString("link", false).asJson();
.header("Content-Type", "application/json").queryString("force", true).asJson();
returnArray[0] = String.valueOf(containersResponse.getStatus());
returnArray[1] = containersResponse.getHeaders().toString();
if (containersResponse.getBody() != null) {
Expand Down

0 comments on commit 4c08fcb

Please sign in to comment.