Skip to content

Commit 286dd24

Browse files
committed
return true as class not as string
1 parent dca7f2f commit 286dd24

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

chef/lib/chef/resource/service.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def running(arg=nil)
120120

121121
def supports(args={})
122122
if args.is_a? Array
123-
args.each { |arg| @supports[arg] = "true" }
123+
args.each { |arg| @supports[arg] = true }
124124
elsif args.any?
125125
@supports = args
126126
else

0 commit comments

Comments
 (0)