lib/cuboid/rest/server.rb in cuboid-0.2.7 vs lib/cuboid/rest/server.rb in cuboid-0.2.8

- old
+ new

@@ -74,10 +74,10 @@ def ensure_instance! update_from_scheduler id = params[:instance] - return if exists? id + return if exist? id halt 404, json( "Scan not found for id: #{h id}." ) end def ensure_agent!