Skip to content

Commit

Permalink
Fix ProductFeatures.GetBooleanFeature reference
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed Jan 12, 2017
1 parent e278500 commit d2ca447
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/lib/packager/clients/pkg_finish.rb
Expand Up @@ -85,8 +85,9 @@ def write
# Patching /etc/zypp/zypp.conf in order not to install
# recommended packages, doc-packages,...
# (needed for products like CASP)

set_minimalistic_zypp_conf if ProductFeatures.GetBoolean("software", "minimalistic_configuration")
if ProductFeatures.GetBooleanFeature("software", "minimalistic_configuration")
set_minimalistic_zypp_conf
end

# copy list of failed packages to installed system
if File.exist?(FAILED_PKGS_PATH)
Expand Down
2 changes: 1 addition & 1 deletion test/pkg_finish_test.rb
Expand Up @@ -22,7 +22,7 @@
before do
allow(Yast::WFM).to receive(:Args).and_return(args)
allow(::Packages::Repository).to receive(:enabled).and_return(repositories)
allow(Yast::ProductFeatures).to receive(:GetBoolean).with("software", "minimalistic_configuration")
allow(Yast::ProductFeatures).to receive(:GetBooleanFeature).with("software", "minimalistic_configuration")
.and_return(minimalistic_configuration)
end

Expand Down

0 comments on commit d2ca447

Please sign in to comment.