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); } }