From 2f60610022d1aec56d1a484ce71da49b12e84f4f Mon Sep 17 00:00:00 2001 From: luke-lombardi <33990301+luke-lombardi@users.noreply.github.com> Date: Sat, 30 Nov 2024 13:09:34 -0500 Subject: [PATCH] clean up logs --- go.mod | 2 +- go.sum | 4 ++-- pkg/worker/image.go | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index d994e816c..850cdc70b 100644 --- a/go.mod +++ b/go.mod @@ -15,7 +15,7 @@ require ( github.com/aws/aws-sdk-go-v2/service/ec2 v1.144.0 github.com/aws/aws-sdk-go-v2/service/ecr v1.24.4 github.com/aws/aws-sdk-go-v2/service/s3 v1.48.1 - github.com/beam-cloud/blobcache-v2 v0.0.0-20241130174455-2909e9e10c53 + github.com/beam-cloud/blobcache-v2 v0.0.0-20241130180917-aa862d77ed1a github.com/beam-cloud/clip v0.0.0-20240826223025-899feb184e88 github.com/beam-cloud/go-runc v0.0.0-20231222221338-b89899f33170 github.com/bsm/redislock v0.9.4 diff --git a/go.sum b/go.sum index 7657749c6..d85e8d20d 100644 --- a/go.sum +++ b/go.sum @@ -92,8 +92,8 @@ github.com/aws/aws-sdk-go-v2/service/sts v1.26.7/go.mod h1:6h2YuIoxaMSCFf5fi1EgZ github.com/aws/smithy-go v1.20.0 h1:6+kZsCXZwKxZS9RfISnPc4EXlHoyAkm2hPuM8X2BrrQ= github.com/aws/smithy-go v1.20.0/go.mod h1:uo5RKksAl4PzhqaAbjd4rLgFoq5koTsQKYuGe7dklGc= github.com/aybabtme/rgbterm v0.0.0-20170906152045-cc83f3b3ce59/go.mod h1:q/89r3U2H7sSsE2t6Kca0lfwTK8JdoNGS/yzM/4iH5I= -github.com/beam-cloud/blobcache-v2 v0.0.0-20241130174455-2909e9e10c53 h1:iKrOAJQQznDc9Dxxc/33nCeOf6JzUPWsEFScOWWynKQ= -github.com/beam-cloud/blobcache-v2 v0.0.0-20241130174455-2909e9e10c53/go.mod h1:eK80pNykYLVTKmfjfTVqvrJqX4HKXqeCl1OQt6/F8ZM= +github.com/beam-cloud/blobcache-v2 v0.0.0-20241130180917-aa862d77ed1a h1:rJf8ZCBdh1Q5OrKWt0oiP6LwFft4d/YQ9zV/l/WFigY= +github.com/beam-cloud/blobcache-v2 v0.0.0-20241130180917-aa862d77ed1a/go.mod h1:eK80pNykYLVTKmfjfTVqvrJqX4HKXqeCl1OQt6/F8ZM= github.com/beam-cloud/clip v0.0.0-20240826223025-899feb184e88 h1:SAzRxbcUKx0fFfqBRfrm39fyh0ixtuPM8/1HNJpnh9U= github.com/beam-cloud/clip v0.0.0-20240826223025-899feb184e88/go.mod h1:FO7taXHUAqgx33PjeB6LbSLpKob3Ceyo9Po64nq5TR0= github.com/beam-cloud/go-runc v0.0.0-20231222221338-b89899f33170 h1:KYVz18kobBGU8URM9Srn++2tcL9e0PcwYyH0Z4GYicM= diff --git a/pkg/worker/image.go b/pkg/worker/image.go index 61fe80f6d..c2e715fcf 100644 --- a/pkg/worker/image.go +++ b/pkg/worker/image.go @@ -143,9 +143,9 @@ func (c *ImageClient) PullLazy(request *types.ContainerRequest) error { _, err := c.cacheClient.StoreContentFromSource(sourcePath, sourceOffset) if err == nil { localCachePath = baseBlobFsContentPath + } else { + c.logger.Log(request.ContainerId, request.StubId, "unable to cache image nearby <%s>: %v\n", imageId, err) } - - c.logger.Log(request.ContainerId, request.StubId, "unable to cache image nearby <%s>: %v\n", imageId, err) } }