From 825b89cd881ab56c223a5eb1807c9625a307d5bf Mon Sep 17 00:00:00 2001 From: Daniel Wegener Date: Fri, 29 Jul 2016 20:05:04 +0200 Subject: [PATCH] Fix DockerAccessWHC.removeNetwork exception msg Should be network, not? :) --- .../maven/docker/access/hc/DockerAccessWithHcClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/fabric8/maven/docker/access/hc/DockerAccessWithHcClient.java b/src/main/java/io/fabric8/maven/docker/access/hc/DockerAccessWithHcClient.java index 7626ef49b..3ee8029de 100644 --- a/src/main/java/io/fabric8/maven/docker/access/hc/DockerAccessWithHcClient.java +++ b/src/main/java/io/fabric8/maven/docker/access/hc/DockerAccessWithHcClient.java @@ -430,7 +430,7 @@ public boolean removeNetwork(String networkId) int status = delegate.delete(url, HTTP_OK, HTTP_NO_CONTENT, HTTP_NOT_FOUND); return status == HTTP_OK || status == HTTP_NO_CONTENT; } catch (IOException e) { - throw new DockerAccessException(e, "Unable to remove container [%s]", networkId); + throw new DockerAccessException(e, "Unable to remove network [%s]", networkId); } }