diff options
author | Tim Smith <tsmith84@gmail.com> | 2019-08-07 16:31:15 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2019-08-07 16:31:44 -0700 |
commit | 798384540841c404635448bf7367da70ae325f8e (patch) | |
tree | be7744eb868dfa9c044c8791edfca593b8f650c1 | |
parent | a3f7490ce3aefc12e89894f2378b8775b0c08d09 (diff) | |
download | chef-798384540841c404635448bf7367da70ae325f8e.tar.gz |
Add comment to property call method order
Let's make sure we don't revert this by accident
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/property.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/property.rb b/lib/chef/property.rb index 97f7e0e7f7..7fa62442a0 100644 --- a/lib/chef/property.rb +++ b/lib/chef/property.rb @@ -347,7 +347,7 @@ class Chef # `get`, the non-lazy, coerced, validated value will always be returned. # def call(resource, value = NOT_PASSED) - if NOT_PASSED == value + if NOT_PASSED == value # see https://github.com/chef/chef/pull/8781 before changing this get(resource) else set(resource, value) |