Skip to content

Commit

Permalink
Update engine.rb#reverse_engine_connection
Browse files Browse the repository at this point in the history
Return a boolean from the reverse_engine_connection method
  • Loading branch information
abunn-r7 committed Mar 23, 2015
1 parent f7b47ca commit 419d035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nexpose/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def delete_engine(engine_id, scope = 'silo')
def reverse_engine_connection(engine_id)
uri = "/api/2.1/engine/#{engine_id}/reverseConnection"
response = AJAX.put(self, uri)
response
response.eql?("true")
end

# Provide a list of current scan activities for a specific Scan Engine.
Expand Down

0 comments on commit 419d035

Please sign in to comment.