Skip to content

Commit

Permalink
add TrueClass, FalseClass
Browse files Browse the repository at this point in the history
  • Loading branch information
derekgroh committed Mar 2, 2016
1 parent ae1c40f commit 73946fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/computer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@
attribute :cmd_user, kind_of: String
attribute :cmd_pass, kind_of: String
attribute :cmd_domain, kind_of: String
attribute :restart, kind_of: String, default: true
attribute :restart, kind_of: [TrueClass, FalseClass], required: true

1 comment on commit 73946fc

@roberto-mardeni
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change broke the default value of the restart attribute by changing it to be required.

Please sign in to comment.