Skip to content

Commit ae6b6d5

Browse files
removed comments
Signed-off-by: metonymic-smokey <[email protected]>
1 parent 7a5795e commit ae6b6d5

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

cmd/thanos/compact.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,6 @@ func runCompact(
301301
}
302302

303303
ctx, cancel := context.WithCancel(context.Background())
304-
305-
// adding tracer to ctx
306304
ctx = tracing.ContextWithTracer(ctx, tracer)
307305

308306
defer func() {

pkg/compact/compact.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,8 +1006,6 @@ func (cg *Group) compact(ctx context.Context, dir string, planner Planner, comp
10061006
// Once we have a plan we need to download the actual data.
10071007
begin := time.Now()
10081008

1009-
// ctx contains the parent span for this function's processes.
1010-
// each block will have a child span from it.
10111009
toCompactDirs := make([]string, 0, len(toCompact))
10121010
for _, meta := range toCompact {
10131011
bdir := filepath.Join(dir, meta.ULID.String())

0 commit comments

Comments
 (0)