Skip to content

Commit

Permalink
Merge pull request #265 from rapid7/blackout_enabled
Browse files Browse the repository at this point in the history
set blackout enabled
  • Loading branch information
sgreen-r7 committed Mar 28, 2017
2 parents 32e8768 + 5869b9a commit 0857c83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nexpose/blackout.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def self.from_hash(hash)
interval = repeat_blackout_hash[:interval]
end

new(hash[:start_date], hash[:blackout_duration], type, interval)
new(hash[:start_date], hash[:enabled], hash[:blackout_duration], type, interval)
end

def to_h
Expand Down

0 comments on commit 0857c83

Please sign in to comment.