From bab5b30693c5042425cfca9783db4a0d2f9fb7f1 Mon Sep 17 00:00:00 2001 From: Vladimir Kikhtenko Date: Sat, 1 Apr 2023 17:53:39 +0700 Subject: [PATCH] move metrics to internal --- cmd/gobgpd/main.go | 2 +- {pkg => internal/pkg}/metrics/metrics.go | 0 {pkg => internal/pkg}/metrics/metrics_test.go | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename {pkg => internal/pkg}/metrics/metrics.go (100%) rename {pkg => internal/pkg}/metrics/metrics_test.go (100%) diff --git a/cmd/gobgpd/main.go b/cmd/gobgpd/main.go index c4cfc83a3..dc88f6ecc 100644 --- a/cmd/gobgpd/main.go +++ b/cmd/gobgpd/main.go @@ -39,9 +39,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/pkg/metrics/metrics.go b/internal/pkg/metrics/metrics.go similarity index 100% rename from pkg/metrics/metrics.go rename to internal/pkg/metrics/metrics.go diff --git a/pkg/metrics/metrics_test.go b/internal/pkg/metrics/metrics_test.go similarity index 100% rename from pkg/metrics/metrics_test.go rename to internal/pkg/metrics/metrics_test.go