lib/minke/docker/network.rb in minke-1.13.7 vs lib/minke/docker/network.rb in minke-1.13.8
- old
+ new
@@ -9,15 +9,15 @@
def create
@shell_runner.execute("docker network create #{@network_name}") if find_network.to_s == ''
end
def remove
- @shell_runner.execute("docker network rm #{@network_name}") unless find_network.to_s == ''
+ @shell_runner.execute("docker network rm #{@network_name}", true) unless find_network.to_s == ''
end
private
def find_network
@shell_runner.execute_and_return("docker network ls | grep #{@network_name}")
end
end
end
-end
\ No newline at end of file
+end