Skip to content

Commit

Permalink
evaluting tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed Feb 17, 2020
1 parent ea0a616 commit 39da330
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions library/general/src/lib/cfa/sysctl_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@ def conflict?(only: [], show_information: true)
conflicts[file.file_path] = conflict_values unless conflict_values.empty?
end

# Transform into real tags
conflicts.each do |file, tags|
conflicts[file] = tags.map { |t| Sysctl::ATTRIBUTES[t.to_sym] }
end

if !conflicts.empty?
log.warn("It could be that #{YAST_CONFIG_PATH} will not be written.")
log.warn("There are conflicts in sysctl files: #{conflicts}.")
Expand Down

0 comments on commit 39da330

Please sign in to comment.