[arvados] updated: 2.6.0-346-g53c32bc88

git repository hosting git at public.arvados.org
Thu Jul 6 17:03:01 UTC 2023


Summary of changes:
 lib/crunchrun/docker.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  53c32bc8834b7e6e64c0c001d95b951c0a762b82 (commit)
      from  a301c3b5d70d1501a88e28d66a9a555d35955d51 (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 53c32bc8834b7e6e64c0c001d95b951c0a762b82
Author: Tom Clegg <tom at curii.com>
Date:   Thu Jul 6 11:54:40 2023 -0400

    20722: Update ContainerCreate usage for new docker client library.
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>

diff --git a/lib/crunchrun/docker.go b/lib/crunchrun/docker.go
index b402637e9..e547f8170 100644
--- a/lib/crunchrun/docker.go
+++ b/lib/crunchrun/docker.go
@@ -187,7 +187,7 @@ func (e *dockerExecutor) config(spec containerSpec) (dockercontainer.Config, doc
 
 func (e *dockerExecutor) Create(spec containerSpec) error {
 	cfg, hostCfg := e.config(spec)
-	created, err := e.dockerclient.ContainerCreate(context.TODO(), &cfg, &hostCfg, nil, e.containerUUID)
+	created, err := e.dockerclient.ContainerCreate(context.TODO(), &cfg, &hostCfg, nil, nil, e.containerUUID)
 	if err != nil {
 		return fmt.Errorf("While creating container: %v", err)
 	}

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list