Skip to content

Commit

Permalink
syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed Apr 25, 2024
1 parent ba7c951 commit c0af0d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib/bootloader/systemdboot.rb
Expand Up @@ -49,8 +49,8 @@ def kernel_params
def merge(other)
log.info "merging: timeout: #{menue_timeout}=>#{other.menue_timeout}"
log.info " secure_boot: #{secure_boot}=>#{other.secure_boot}"
log.info " mitigations: #{cpu_mitigations.kernel_value}=>" \
"#{other.cpu_mitigations.kernel_value}"
log.info " mitigations: #{cpu_mitigations.to_human_string}=>" \
"#{other.cpu_mitigations.to_human_string}"
log.info " kernel_params: #{kernel_params.serialize}=>" \
"#{other.kernel_params.serialize}"
super
Expand All @@ -75,7 +75,7 @@ def merge(other)

log.info "merging result: timeout: #{menue_timeout}"
log.info " secure_boot: #{secure_boot}"
log.info " mitigations: #{cpu_mitigations.kernel_value}"
log.info " mitigations: #{cpu_mitigations.to_human_string}"
log.info " kernel_params: #{kernel_params.serialize}"
end
# rubocop:enable Metrics/AbcSize
Expand All @@ -89,7 +89,7 @@ def explicit_cpu_mitigations
end

def cpu_mitigations=(value)
log.info "set mitigations to #{value.kernel_value}"
log.info "set mitigations to #{value.to_human_string}"
@explicit_cpu_mitigations = true
value.modify_kernel_params(kernel_params)
end
Expand Down

0 comments on commit c0af0d6

Please sign in to comment.