remove custom: from hostname
This commit is contained in:
parent
cf2b03e7e9
commit
d95d294289
|
@ -134,7 +134,7 @@ func (m *ManagementService) getHostDetails(w http.ResponseWriter, r *http.Reques
|
||||||
|
|
||||||
func (m *ManagementService) getLabel() string {
|
func (m *ManagementService) getLabel() string {
|
||||||
if m.label != "" {
|
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
|
// If no label is provided we return the system hostname. This is not
|
||||||
|
|
Loading…
Reference in New Issue