t3c: Status API fails because FQDN is used as a hostname #6174
Labels
bug
something isn't working as intended
cache-config
Cache config generation
medium impact
impacts a significant portion of a CDN, or has the potential to do so
Milestone
Depending how the system is configured, a call to
os.HostName()
might return the FQDN or the short name of the server. The status API requires a short hostname.Current behavior:
Expected behavior:
Should use the short hostname. This is usually done using
hostname -s
Steps to reproduce:
Make sure
hostname
returns the full FQDN. Run t3c-apply and observe the failure.The text was updated successfully, but these errors were encountered: