Skip to content

Commit

Permalink
cast to string for safety
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom committed Feb 28, 2025
1 parent 650a216 commit ddd3f14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dashboard/app/helpers/system_status_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Helpers for the system status page /dashboard/systemstatus
module SystemStatusHelper
def title(cluster)
"#{cluster.metadata.title.titleize} Cluster Status"
"#{cluster.metadata.title.to_s.titleize} Cluster Status"
end

def status_hash(name, active, total)
Expand Down

0 comments on commit ddd3f14

Please sign in to comment.