about summary refs log tree commit diff
path: root/tvix/nar-bridge/pkg/server/blob_upload.go
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-09-18T09·04+0300
committerflokli <flokli@flokli.de>2023-09-18T14·02+0000
commit07af692ecb1a9cabf03af1575dff7a82cf18a7ac (patch)
tree7972e3eb3969774098ec0bcc71867e33d488130e /tvix/nar-bridge/pkg/server/blob_upload.go
parentdd7cc6ed689d01d14588ec09202b5aae5fb5c9a8 (diff)
refactor(tvix/nar-bridge): simplify CLI interface r/6613
Only keep the `serve` subcommand, and make it appear at the root.
Introduce a --log-level argument, and be a bit less noisy in normal
operation.

Change-Id: I86b8abde1869a5c0c947508bcc29f845222aac09
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9360
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: Connor Brewster <cbrewster@hey.com>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/nar-bridge/pkg/server/blob_upload.go')
-rw-r--r--tvix/nar-bridge/pkg/server/blob_upload.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/nar-bridge/pkg/server/blob_upload.go b/tvix/nar-bridge/pkg/server/blob_upload.go
index 82e22864a552..cfb65eddb14a 100644
--- a/tvix/nar-bridge/pkg/server/blob_upload.go
+++ b/tvix/nar-bridge/pkg/server/blob_upload.go
@@ -64,7 +64,7 @@ func genBlobServiceWriteCb(ctx context.Context, blobServiceClient storev1pb.Blob
 		log.WithFields(log.Fields{
 			"blob_digest": base64.StdEncoding.EncodeToString(resp.GetDigest()),
 			"blob_size":   blobSize,
-		}).Info("uploaded blob")
+		}).Debug("uploaded blob")
 
 		return nil
 	}