Skip to content

Commit

Permalink
fix typo in zabbix_host provider
Browse files Browse the repository at this point in the history
I am assuming here that `is_af?` should be `is_a?`.
  • Loading branch information
damoxc committed Apr 27, 2016
1 parent 75325e4 commit 80f5ca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet/provider/zabbix_host/ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def create

# Get the template ids.
template_array = []
if templates.is_af?(Array)
if templates.is_a?(Array)
templates.each do |template|
template_id = self.class.get_template_id(zbx, template)
template_array.push template_id
Expand Down

0 comments on commit 80f5ca0

Please sign in to comment.