Merge branch '15138-version-our-documentation'
[arvados.git] / apps / workbench / app / models / node.rb
index e67dd9ea591df543b50d0f0684bdd936516bfdf8..785cc4fcfe5279dcc31288ab6951de498b328817 100644 (file)
@@ -1,3 +1,12 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
 class Node < ArvadosBase
-  attr_accessor :object
+  def self.creatable?
+    false
+  end
+  def friendly_link_name lookup=nil
+    (hostname && !hostname.empty?) ? hostname : uuid
+  end
 end