summaryrefslogtreecommitdiff
path: root/lib/chef/run_context.rb
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2015-06-08 15:11:18 -0700
committerJohn Keiser <john@johnkeiser.com>2015-06-23 14:42:28 -0700
commit54a0d0d6df9ca93eb6c0116e0d8c5865a098bfe4 (patch)
treeb41f565d57a6974357ee3c786ce93472e4f75fb6 /lib/chef/run_context.rb
parent498293c8ac5398b12f8599f8fcd3a37edcd0c729 (diff)
downloadchef-54a0d0d6df9ca93eb6c0116e0d8c5865a098bfe4.tar.gz
Remove unnecessary TODOs
Diffstat (limited to 'lib/chef/run_context.rb')
-rw-r--r--lib/chef/run_context.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/chef/run_context.rb b/lib/chef/run_context.rb
index 497422f2fb..6aa511f30f 100644
--- a/lib/chef/run_context.rb
+++ b/lib/chef/run_context.rb
@@ -176,12 +176,8 @@ class Chef
def notifies_immediately(notification)
nr = notification.notifying_resource
if nr.instance_of?(Chef::Resource)
- # TODO is there any point at all to keying on name? Do we really want
- # to categorize notifications from execute[do it] with file[do it]
- # and directory[do it]?
immediate_notification_collection[nr.name] << notification
else
- # TODO this is only declared on Chef::Resource. Does it even run?
immediate_notification_collection[nr.declared_key] << notification
end
end
@@ -194,7 +190,6 @@ class Chef
def notifies_delayed(notification)
nr = notification.notifying_resource
if nr.instance_of?(Chef::Resource)
- # TODO this seems odd and possibly even wrong.
delayed_notification_collection[nr.name] << notification
else
delayed_notification_collection[nr.declared_key] << notification