Skip to content

Commit

Permalink
Merge pull request docker#2344 from jsternberg/progress-metrics-non-e…
Browse files Browse the repository at this point in the history
…xperimental

progress: remove the experimental label from progress metrics
  • Loading branch information
tonistiigi authored Mar 22, 2024
2 parents 4af0ed5 + 4999908 commit 8abef59
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions util/progress/printer.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"sync"

"github.com/containerd/console"
"github.com/docker/buildx/util/confutil"
"github.com/docker/buildx/util/logutil"
"github.com/moby/buildkit/client"
"github.com/moby/buildkit/util/progress/progressui"
Expand Down Expand Up @@ -176,9 +175,7 @@ func WithDesc(text string, console string) PrinterOpt {

func WithMetrics(mp metric.MeterProvider, attrs attribute.Set) PrinterOpt {
return func(opt *printerOpts) {
if confutil.IsExperimental() {
opt.mw = newMetrics(mp, attrs)
}
opt.mw = newMetrics(mp, attrs)
}
}

Expand Down

0 comments on commit 8abef59

Please sign in to comment.