Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Feb 23, 2021
1 parent 2764101 commit efd2a25
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/installation/widgets/selinux_policy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ def label
end

def items
@settings.selinux_config.modes.map { |m| [m.id, m.to_human_string] }
@settings.selinux_config.modes.map { |m| [m.id.to_s, m.to_human_string] }
end

def init
self.value = @settings.selinux_config.mode.id
self.value = @settings.selinux_config.mode.id.to_s
end

def store
@settings.selinux_config.mode = value
@settings.selinux_config.mode = value.to_sym
end

def help
Expand Down

0 comments on commit efd2a25

Please sign in to comment.