summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2021-06-05 10:26:50 -0700
committerJohn McCrae <john.mccrae@progress.com>2021-06-14 19:01:10 -0700
commit5facbcbfa9d67f3647cfecfcfdedcb6b477e9437 (patch)
tree921e542e3e6cd534d885962b90bd372ca7dfee0a /lib
parente27b4ae67b8d0802ab4f7b38ee3b29ba029231e5 (diff)
downloadchef-5facbcbfa9d67f3647cfecfcfdedcb6b477e9437.tar.gz
Fix bad variable name
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/provider/zypper_repository.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/zypper_repository.rb b/lib/chef/provider/zypper_repository.rb
index f1da1e8762..c1c863e20e 100644
--- a/lib/chef/provider/zypper_repository.rb
+++ b/lib/chef/provider/zypper_repository.rb
@@ -153,7 +153,7 @@ class Chef
# install the provided gpg keys
# @param [String] uris the uri of the local or remote gpg key
def install_gpg_keys(uris)
- if uri.empty?
+ if uris.empty?
logger.debug("'gpgkey' property not provided or set. Skipping gpg key import.")
return
end