X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/343892aa0ef79cf607abbfd85a04a612990022e1..20e876e9d9809d6097da440453c20f737229ee28:/apps/workbench/app/models/virtual_machine.rb diff --git a/apps/workbench/app/models/virtual_machine.rb b/apps/workbench/app/models/virtual_machine.rb index 5f6131ebfa..5ff7798a95 100644 --- a/apps/workbench/app/models/virtual_machine.rb +++ b/apps/workbench/app/models/virtual_machine.rb @@ -16,6 +16,6 @@ class VirtualMachine < ArvadosBase super] end def friendly_link_name - self.hostname + (hostname && !hostname.empty?) ? hostname : uuid end end