Skip to content

Commit

Permalink
remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
mensfeld committed Sep 4, 2023
1 parent d828bc1 commit 2d16b12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/karafka/web/management/clean_boot_file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def call

File.write(Karafka.boot_file, karafka_rb.join)
puts "Karafka boot file #{successfully} updated."
puts "Make sure to remove configuration and other customizations as well."
puts 'Make sure to remove configuration and other customizations as well.'
else
puts 'Karafka Web UI components not found in the boot file.'
end
Expand Down
2 changes: 1 addition & 1 deletion lib/karafka/web/management/extend_boot_file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class ExtendBootFile < Base

# Template with initial Web UI configuration
# Session secret needs to be set per user and per env
SETUP_TEMPLATE = <<~CONFIG
SETUP_TEMPLATE = <<~CONFIG.freeze
Karafka::Web.setup do |config|
# You may want to set it per ENV. This value was randomly generated.
config.ui.sessions.secret = '#{SecureRandom.hex(32)}'
Expand Down

0 comments on commit 2d16b12

Please sign in to comment.