Skip to content

Commit

Permalink
Fix handler filter
Browse files Browse the repository at this point in the history
Would get created fine the first time but then have a nil error on
second run.
  • Loading branch information
johnf committed Aug 22, 2014
1 parent ff37f7b commit cc7bef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet/provider/sensu_handler/json.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def mutator=(value)
end

def filters
conf['filters'][resource[:name]]['filters']
conf['handlers'][resource[:name]]['filters']
end

def filters=(value)
Expand Down

0 comments on commit cc7bef9

Please sign in to comment.