[ARVADOS] updated: 2b297df85b61ac7f2ded512eca7c307d75b1cd8e
Git user
git at public.curoverse.com
Thu Feb 9 14:29:02 EST 2017
Summary of changes:
sdk/go/arvados/collection.go | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
via 2b297df85b61ac7f2ded512eca7c307d75b1cd8e (commit)
from 5bf9312a5174f97f00db383836eb7666dc500293 (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 2b297df85b61ac7f2ded512eca7c307d75b1cd8e
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Thu Feb 9 14:28:26 2017 -0500
9397: Fix collection.go to use blockdigest.LocatorPattern
diff --git a/sdk/go/arvados/collection.go b/sdk/go/arvados/collection.go
index 157ce16..df7c224 100644
--- a/sdk/go/arvados/collection.go
+++ b/sdk/go/arvados/collection.go
@@ -3,10 +3,9 @@ package arvados
import (
"bufio"
"fmt"
+ "git.curoverse.com/arvados.git/sdk/go/blockdigest"
"strings"
"time"
-
- "git.curoverse.com/arvados.git/sdk/go/manifest"
)
// Collection is an arvados#collection resource.
@@ -46,7 +45,7 @@ func (c *Collection) SizedDigests() ([]SizedDigest, error) {
return nil, fmt.Errorf("Invalid stream (<3 tokens): %q", line)
}
for _, token := range tokens[1:] {
- if !manifest.LocatorPattern.MatchString(token) {
+ if !blockdigest.LocatorPattern.MatchString(token) {
// FIXME: ensure it's a file token
break
}
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list