aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authordiogo464 <[email protected]>2025-10-30 20:03:37 +0000
committerdiogo464 <[email protected]>2025-10-30 20:03:37 +0000
commit2bfd274bf31ed74f690bb5d4087c6a433ab83a06 (patch)
tree6fb707941aac04aa9737b127bd6c666197713326 /scripts
parent6e4b2e481305efdd7caf096ecca99a7060a9c0d1 (diff)
fix: dont panic when unable to obtain hostname
if we are unable to obtain the hostname of the local machine from the /etc/hostname file or HOSTNAME env var then an empty string is used as the hostname and a warning is shown instead of a panic. since the hostname is just used to determine if we are executing on the cluster, and the cluster machines all have their hostnames set, then using the empty string should not be a problem.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions