Skip to content

Commit

Permalink
Showing issues onetime only.
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed Jun 12, 2018
1 parent ca6eb97 commit 3ffc0cf
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
7 changes: 7 additions & 0 deletions package/autoyast2.changes
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Jun 12 15:16:20 CEST 2018 - schubi@suse.de

- Showing AutoYaST configuration file errors onetime only.
(needed for bnc#1095113)
- 4.0.56

-------------------------------------------------------------------
Tue Jun 5 10:15:02 CEST 2018 - schubi@suse.de

Expand Down
2 changes: 1 addition & 1 deletion package/autoyast2.spec
Expand Up @@ -22,7 +22,7 @@
%endif

Name: autoyast2
Version: 4.0.55
Version: 4.0.56
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
4 changes: 4 additions & 0 deletions src/modules/AutoInstall.rb
Expand Up @@ -362,6 +362,10 @@ def valid_imported_values
end

presenter = Y2Autoinstallation::AutoinstIssuesPresenter.new(@issues_list)

# Showing issues onetime only.
@issues_list = Y2Autoinstallation::AutoinstIssues::List.new

log.send(level, presenter.to_plain) if log_message
return true unless display_message

Expand Down

0 comments on commit 3ffc0cf

Please sign in to comment.