summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2019-08-07 16:31:15 -0700
committerTim Smith <tsmith84@gmail.com>2019-08-07 16:31:44 -0700
commit798384540841c404635448bf7367da70ae325f8e (patch)
treebe7744eb868dfa9c044c8791edfca593b8f650c1
parenta3f7490ce3aefc12e89894f2378b8775b0c08d09 (diff)
downloadchef-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.rb2
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)