summaryrefslogtreecommitdiff
path: root/lib/chef/encrypted_data_bag_item
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-02-12 09:32:14 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-02-12 09:32:14 -0800
commit03eadde04eb219bfa8abe52d312261a5142e7266 (patch)
treeb0864a3e70741f5a15f0337824f25b69fc319c07 /lib/chef/encrypted_data_bag_item
parent1e324f073455db7596f37da6bf21b2f6521529ce (diff)
downloadchef-03eadde04eb219bfa8abe52d312261a5142e7266.tar.gz
pull rubocop 0.37.2 into chefstyle
this is from the same ruleset that we had, but the new code catches more conditions.
Diffstat (limited to 'lib/chef/encrypted_data_bag_item')
-rw-r--r--lib/chef/encrypted_data_bag_item/assertions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/encrypted_data_bag_item/assertions.rb b/lib/chef/encrypted_data_bag_item/assertions.rb
index 8162a9aa54..bbdcf7a721 100644
--- a/lib/chef/encrypted_data_bag_item/assertions.rb
+++ b/lib/chef/encrypted_data_bag_item/assertions.rb
@@ -30,7 +30,7 @@ class Chef::EncryptedDataBagItem
unless format_version.kind_of?(Integer) and format_version >= Chef::Config[:data_bag_decrypt_minimum_version]
raise UnacceptableEncryptedDataBagItemFormat,
"The encrypted data bag item has format version `#{format_version}', " +
- "but the config setting 'data_bag_decrypt_minimum_version' requires version `#{Chef::Config[:data_bag_decrypt_minimum_version]}'"
+ "but the config setting 'data_bag_decrypt_minimum_version' requires version `#{Chef::Config[:data_bag_decrypt_minimum_version]}'"
end
end