diff options
author | Thom May <thom@may.lt> | 2016-02-18 09:08:53 +0000 |
---|---|---|
committer | Thom May <thom@may.lt> | 2016-02-18 09:08:53 +0000 |
commit | 8ba457d33c1f16d0ca8dcecb88fb13a3a7ade5d2 (patch) | |
tree | 04d33ae94e305c8e75c76e450aaedd740e48808d /lib | |
parent | 320389bf316d461ffc874ec4041999bffbac590a (diff) | |
parent | d71cd6f5feaa22693f0b3cce15ad46e6a772b5ad (diff) | |
download | chef-8ba457d33c1f16d0ca8dcecb88fb13a3a7ade5d2.tar.gz |
Merge pull request #4591 from chef/lcg/fix-zypper
zypper multipackage performance fix
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/provider/package/zypper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/package/zypper.rb b/lib/chef/provider/package/zypper.rb index 2441b46013..5ee1dbea8e 100644 --- a/lib/chef/provider/package/zypper.rb +++ b/lib/chef/provider/package/zypper.rb @@ -54,7 +54,7 @@ class Chef end def versions - @versions = + @versions ||= begin raw_versions = package_name_array.map do |package_name| get_versions(package_name) |