Skip to content

Commit

Permalink
standard formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlogic committed Oct 10, 2024
1 parent 8f36030 commit 92a34b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion judoscale-ruby/lib/judoscale/job_metrics_collector.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def self.adapter_config
def initialize
super

log_msg = +"#{self.class.adapter_name} enabled"
log_msg = "#{self.class.adapter_name} enabled"
log_msg << " with busy job tracking support" if track_busy_jobs?
logger.info log_msg
end
Expand Down
2 changes: 1 addition & 1 deletion judoscale-ruby/lib/judoscale/logger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class LoggerProxy < Struct.new(:logger, :log_level)
private

def tag(msgs, tag_level: nil)
tag = +"[#{Config.instance.log_tag}]"
tag = "[#{Config.instance.log_tag}]"
tag << " [#{tag_level}]" if tag_level
msgs.map { |msg| "#{tag} #{msg}" }.join("\n")
end
Expand Down

0 comments on commit 92a34b9

Please sign in to comment.