remove custom: from hostname

This commit is contained in:
FloppyDisk 2023-11-16 14:30:38 +13:00 committed by GitHub
parent cf2b03e7e9
commit d95d294289
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ func (m *ManagementService) getHostDetails(w http.ResponseWriter, r *http.Reques
func (m *ManagementService) getLabel() string {
if m.label != "" {
return fmt.Sprintf("custom:%s", m.label)
return fmt.Sprintf("%s", m.label)
}
// If no label is provided we return the system hostname. This is not