From 816cb70f8f01f5e9b235d69ef56c3f3cfa9d3c91 Mon Sep 17 00:00:00 2001 From: Mateusz Warzecha Date: Wed, 20 Nov 2024 14:42:50 +0100 Subject: [PATCH] Moved metrics from internal to public pkg --- cmd/gobgpd/main.go | 2 +- {internal/pkg => pkg}/metrics/metrics.go | 0 {internal/pkg => pkg}/metrics/metrics_test.go | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename {internal/pkg => pkg}/metrics/metrics.go (100%) rename {internal/pkg => pkg}/metrics/metrics_test.go (100%) diff --git a/cmd/gobgpd/main.go b/cmd/gobgpd/main.go index 37f6793d1..55f245a63 100644 --- a/cmd/gobgpd/main.go +++ b/cmd/gobgpd/main.go @@ -41,9 +41,9 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials" - "github.com/osrg/gobgp/v3/internal/pkg/metrics" "github.com/osrg/gobgp/v3/internal/pkg/version" "github.com/osrg/gobgp/v3/pkg/config" + "github.com/osrg/gobgp/v3/pkg/metrics" "github.com/osrg/gobgp/v3/pkg/server" ) diff --git a/internal/pkg/metrics/metrics.go b/pkg/metrics/metrics.go similarity index 100% rename from internal/pkg/metrics/metrics.go rename to pkg/metrics/metrics.go diff --git a/internal/pkg/metrics/metrics_test.go b/pkg/metrics/metrics_test.go similarity index 100% rename from internal/pkg/metrics/metrics_test.go rename to pkg/metrics/metrics_test.go