[ARVADOS] updated: ff100fbf824e2dbc2ff0afd3d746ac562532cfb6
Git user
git at public.curoverse.com
Mon Oct 16 13:52:39 EDT 2017
Summary of changes:
sdk/go/arvados/config.go | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
via ff100fbf824e2dbc2ff0afd3d746ac562532cfb6 (commit)
from a9497f8d2756104ba07d88d5c8c7b84790fd83f3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit ff100fbf824e2dbc2ff0afd3d746ac562532cfb6
Author: Tom Clegg <tclegg at veritasgenetics.com>
Date: Mon Oct 16 10:44:54 2017 -0400
12260: Update comments to match real func/type names.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg at veritasgenetics.com>
diff --git a/sdk/go/arvados/config.go b/sdk/go/arvados/config.go
index f1a7289..ca0df1f 100644
--- a/sdk/go/arvados/config.go
+++ b/sdk/go/arvados/config.go
@@ -50,8 +50,8 @@ type Cluster struct {
SystemNodes map[string]SystemNode
}
-// GetThisSystemNodeConfig returns a SystemNode for the node we're
-// running on right now.
+// GetThisSystemNode returns a SystemNode for the node we're running
+// on right now.
func (cc *Cluster) GetThisSystemNode() (*SystemNode, error) {
hostname, err := os.Hostname()
if err != nil {
@@ -60,9 +60,9 @@ func (cc *Cluster) GetThisSystemNode() (*SystemNode, error) {
return cc.GetSystemNode(hostname)
}
-// GetSystemNodeConfig returns a NodeConfig for the given node. An
-// error is returned if the appropriate configuration can't be
-// determined (e.g., this does not appear to be a system node).
+// GetSystemNode returns a SystemNode for the given hostname. An error
+// is returned if the appropriate configuration can't be determined
+// (e.g., this does not appear to be a system node).
func (cc *Cluster) GetSystemNode(node string) (*SystemNode, error) {
if cfg, ok := cc.SystemNodes[node]; ok {
return &cfg, nil
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list