projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
20602: Attach assigned priority to response log entry.
[arvados.git]
/
lib
/
crunchrun
/
copier.go
diff --git
a/lib/crunchrun/copier.go
b/lib/crunchrun/copier.go
index 734b2c2822f0653364a15ebdc4df64f1c0acb0e4..a081c5d325dc2c3f8954de873dc26bf332e12066 100644
(file)
--- a/
lib/crunchrun/copier.go
+++ b/
lib/crunchrun/copier.go
@@
-51,7
+51,6
@@
type filetodo struct {
// manifest, err := (&copier{...}).Copy()
type copier struct {
client *arvados.Client
// manifest, err := (&copier{...}).Copy()
type copier struct {
client *arvados.Client
- arvClient IArvadosClient
keepClient IKeepClient
hostOutputDir string
ctrOutputDir string
keepClient IKeepClient
hostOutputDir string
ctrOutputDir string
@@
-372,7
+371,7
@@
func (cp *copier) getManifest(pdh string) (*manifest.Manifest, error) {
return mft, nil
}
var coll arvados.Collection
return mft, nil
}
var coll arvados.Collection
- err := cp.
arvClient.Get("collections", pdh, nil, &col
l)
+ err := cp.
client.RequestAndDecode(&coll, "GET", "arvados/v1/collections/"+pdh, nil, ni
l)
if err != nil {
return nil, fmt.Errorf("error retrieving collection record for %q: %s", pdh, err)
}
if err != nil {
return nil, fmt.Errorf("error retrieving collection record for %q: %s", pdh, err)
}