Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge remote-tracking branch 'origin/pr/90'

commit d1cc91c7e6e433bb63e4f45a3d1a9957e3fcfacd 2 parents 4f1e5c0 + bfbd16d
Joseph Palermo and Zach Robinson authored
View
2  warden/lib/warden/container/insecure.rb
@@ -33,7 +33,7 @@ def do_stop(request, response)
end
def do_destroy(request, response)
- sh File.join(root_path, "stop.sh"), container_path, "-w", "0", raise: false
+ sh File.join(container_path, "stop.sh"), "-w", "0", raise: false
sh File.join(root_path, "destroy.sh"), container_path
logger.debug("Container destroyed")
end
View
2  warden/lib/warden/container/linux.rb
@@ -120,7 +120,7 @@ def do_stop(request, response)
end
def do_destroy(request, response)
- sh File.join(root_path, "stop.sh"), container_path, "-w", "0", raise: false
+ sh File.join(container_path, "stop.sh"), "-w", "0", raise: false
sh File.join(root_path, "destroy.sh"), container_path
logger.debug("Container destroyed")
Please sign in to comment.
Something went wrong with that request. Please try again.