18790: Merge branch 'main' into 18790-log-client
[arvados.git] / services / keep-balance / server.go
index fd53497f789ed4f5f1db458f99e69f8e7f10c1a7..9bcaec43d86aba56190438c02810f19b612d1937 100644 (file)
@@ -30,6 +30,7 @@ type RunOptions struct {
        CommitPulls           bool
        CommitTrash           bool
        CommitConfirmedFields bool
+       ChunkPrefix           string
        Logger                logrus.FieldLogger
        Dumper                logrus.FieldLogger
 
@@ -86,6 +87,7 @@ func (srv *Server) runOnce(ctx context.Context) (*Balancer, error) {
                Dumper:         srv.Dumper,
                Metrics:        srv.Metrics,
                LostBlocksFile: srv.Cluster.Collections.BlobMissingReport,
+               ChunkPrefix:    srv.RunOptions.ChunkPrefix,
        }
        var err error
        srv.RunOptions, err = bal.Run(ctx, srv.ArvClient, srv.Cluster, srv.RunOptions)