projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into 4426-search-documentation
[arvados.git]
/
sdk
/
go
/
keepclient
/
support.go
diff --git
a/sdk/go/keepclient/support.go
b/sdk/go/keepclient/support.go
index 9db6ebcbaa234a82778825e92baa8a7017a3f418..940a110081dbaa46920cb472ea09d9e0635fd219 100644
(file)
--- a/
sdk/go/keepclient/support.go
+++ b/
sdk/go/keepclient/support.go
@@
-76,7
+76,7
@@
func (this *KeepClient) setClientSettingsStore() {
}
}
}
}
-func (this *KeepClient) DiscoverKeepServers()
error
{
+func (this *KeepClient) DiscoverKeepServers()
(map[string]string, error)
{
type svcList struct {
Items []keepDisk `json:"items"`
}
type svcList struct {
Items []keepDisk `json:"items"`
}
@@
-86,7
+86,7
@@
func (this *KeepClient) DiscoverKeepServers() error {
if err != nil {
if err := this.Arvados.List("keep_disks", nil, &m); err != nil {
if err != nil {
if err := this.Arvados.List("keep_disks", nil, &m); err != nil {
- return err
+ return
nil,
err
}
}
}
}
@@
-121,7
+121,7
@@
func (this *KeepClient) DiscoverKeepServers() error {
this.SetServiceRoots(service_roots)
this.SetServiceRoots(service_roots)
- return nil
+ return
service_roots,
nil
}
type uploadStatus struct {
}
type uploadStatus struct {