mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-28 08:27:42 +08:00
Merge pull request #2344 from jsternberg/progress-metrics-non-experimental
progress: remove the experimental label from progress metrics
This commit is contained in:
commit
8abef59087
@ -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"
|
||||
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user