X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f293f0f41c5de9623239fe2b1eb6c4ef83ae00a0..96d8b9e1afecccae803ec4b956ada745dbe71d9f:/lib/crunchrun/copier.go diff --git a/lib/crunchrun/copier.go b/lib/crunchrun/copier.go index 734b2c2822..a081c5d325 100644 --- 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 - arvClient IArvadosClient 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 - err := cp.arvClient.Get("collections", pdh, nil, &coll) + err := cp.client.RequestAndDecode(&coll, "GET", "arvados/v1/collections/"+pdh, nil, nil) if err != nil { return nil, fmt.Errorf("error retrieving collection record for %q: %s", pdh, err) }