X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/5225a4deab9bf526d4e178cb5220f790b3d33e67..043002e8d0dfd2a5dbb3cfc135ac21732c199c05:/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