Skip to content

Commit

Permalink
Update sysall.md
Browse files Browse the repository at this point in the history
remove trailing 0 in host_name
  • Loading branch information
BorisTyshkevich authored Oct 4, 2024
1 parent e13b0e2 commit ba90ccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/en/altinity-kb-setup-and-maintenance/sysall.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ FROM system.clusters
LEFT JOIN
(
SELECT
hostName() AS host_name,
replaceRegexpOne(hostName(),'-(\d+)-0$','-\1') AS host_name, -- remove trailing 0
FQDN() AS fqdn,
materialize(uptime()) AS uptime
FROM clusterAllReplicas('{cluster}', system.one)
Expand Down

0 comments on commit ba90ccc

Please sign in to comment.