summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2021-07-14 08:09:13 -0700
committerTim Smith <tsmith@chef.io>2021-07-14 08:09:13 -0700
commitc92bc83957d870052407d2ff965fd6b8d65de681 (patch)
treea5f59a36139023580ca62e80301755ea96e71ab8
parent60e6849aa65aece9ff896a765a92095337298d36 (diff)
downloadchef-c92bc83957d870052407d2ff965fd6b8d65de681.tar.gz
Chefstyle fixes
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/secret_fetcher.rb2
-rw-r--r--lib/chef/secret_fetcher/aws_secrets_manager.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/secret_fetcher.rb b/lib/chef/secret_fetcher.rb
index dcfb542aa6..6745da00f6 100644
--- a/lib/chef/secret_fetcher.rb
+++ b/lib/chef/secret_fetcher.rb
@@ -21,7 +21,7 @@ require_relative "exceptions"
class Chef
class SecretFetcher
- SECRET_FETCHERS = [ :example, :aws_secrets_manager ].freeze
+ SECRET_FETCHERS = %i{example aws_secrets_manager}.freeze
# Returns a configured and validated instance
# of a [Chef::SecretFetcher::Base] for the given
diff --git a/lib/chef/secret_fetcher/aws_secrets_manager.rb b/lib/chef/secret_fetcher/aws_secrets_manager.rb
index f890fb5f2e..8f87a79b06 100644
--- a/lib/chef/secret_fetcher/aws_secrets_manager.rb
+++ b/lib/chef/secret_fetcher/aws_secrets_manager.rb
@@ -36,7 +36,7 @@ class Chef
# fetcher.fetch("secretkey1")
class SecretFetcher
class AWSSecretsManager < Base
- DEFAULT_AWS_OPTS = { }
+ DEFAULT_AWS_OPTS = {}
def validate!
# Note that we are not doing any validation of required configuration here, we will
# rely on the API client to do that for us, since it will work with the merge of