rebrand: frp -> kanhole (kanhole server, kanholec client)
golangci-lint / lint (push) Failing after 1m5s
golangci-lint / lint (push) Failing after 1m5s
This commit is contained in:
@@ -15,9 +15,9 @@
|
||||
package aggregate
|
||||
|
||||
import (
|
||||
"github.com/fatedier/frp/pkg/metrics/mem"
|
||||
"github.com/fatedier/frp/pkg/metrics/prometheus"
|
||||
"github.com/fatedier/frp/server/metrics"
|
||||
"kanhole/pkg/metrics/mem"
|
||||
"kanhole/pkg/metrics/prometheus"
|
||||
"kanhole/server/metrics"
|
||||
)
|
||||
|
||||
// EnableMem start to mark metrics to memory monitor system.
|
||||
|
||||
@@ -20,9 +20,9 @@ import (
|
||||
|
||||
"k8s.io/utils/clock"
|
||||
|
||||
"github.com/fatedier/frp/pkg/util/log"
|
||||
"github.com/fatedier/frp/pkg/util/metric"
|
||||
server "github.com/fatedier/frp/server/metrics"
|
||||
"kanhole/pkg/util/log"
|
||||
"kanhole/pkg/util/metric"
|
||||
server "kanhole/server/metrics"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -17,7 +17,7 @@ package mem
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/fatedier/frp/pkg/util/metric"
|
||||
"kanhole/pkg/util/metric"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
package metrics
|
||||
|
||||
import (
|
||||
"github.com/fatedier/frp/pkg/metrics/aggregate"
|
||||
"kanhole/pkg/metrics/aggregate"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -3,11 +3,11 @@ package prometheus
|
||||
import (
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
|
||||
"github.com/fatedier/frp/server/metrics"
|
||||
"kanhole/server/metrics"
|
||||
)
|
||||
|
||||
const (
|
||||
namespace = "frp"
|
||||
namespace = "kanhole"
|
||||
serverSubsystem = "server"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user