projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'master' into 14873-api-rails5-upgrade
[arvados.git]
/
apps
/
workbench
/
app
/
models
/
node.rb
1
# Copyright (C) The Arvados Authors. All rights reserved.
2
#
3
# SPDX-License-Identifier: AGPL-3.0
4
5
class Node < ArvadosBase
6
def self.creatable?
7
false
8
end
9
def friendly_link_name lookup=nil
10
(hostname && !hostname.empty?) ? hostname : uuid
11
end
12
end