summaryrefslogtreecommitdiff
path: root/lib/chef/resource/ruby_block.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2020-04-02 13:11:23 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2020-04-02 13:11:23 -0700
commit333e0695117f8a518b8f2729bc3f97a5bd6560e4 (patch)
tree075407f7449b87bf4c24c09e3750e282357c5e58 /lib/chef/resource/ruby_block.rb
parent6185d25626e63973c22ed4736af048c1f11dab9d (diff)
downloadchef-333e0695117f8a518b8f2729bc3f97a5bd6560e4.tar.gz
remove redundant identity
name_property implies identity if there is no other identity property this has been the behavior for a very long time, dunno why #4282 was never closed. closes #4282 Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/resource/ruby_block.rb')
-rw-r--r--lib/chef/resource/ruby_block.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/ruby_block.rb b/lib/chef/resource/ruby_block.rb
index 5ecf1582d4..d4a3c47ec5 100644
--- a/lib/chef/resource/ruby_block.rb
+++ b/lib/chef/resource/ruby_block.rb
@@ -1,7 +1,7 @@
#
# Author:: Adam Jacob (<adam@chef.io>)
# Author:: AJ Christensen (<aj@chef.io>)
-# Copyright:: Copyright 2008-2016, Chef Software Inc.
+# Copyright:: Copyright 2008-2020, Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -44,7 +44,7 @@ class Chef
end
end
- property :block_name, String, name_property: true, identity: true
+ property :block_name, String, name_property: true
end
end
end