mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-21 03:16:00 -08:00
[storage] clean imports (#7099)
Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>
This commit is contained in:
parent
ecda6013ed
commit
9a21fdcd1b
|
@ -21,7 +21,6 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
common_config "github.com/prometheus/common/config"
|
common_config "github.com/prometheus/common/config"
|
||||||
config_util "github.com/prometheus/common/config"
|
|
||||||
"github.com/prometheus/common/model"
|
"github.com/prometheus/common/model"
|
||||||
"github.com/prometheus/prometheus/config"
|
"github.com/prometheus/prometheus/config"
|
||||||
"github.com/prometheus/prometheus/pkg/labels"
|
"github.com/prometheus/prometheus/pkg/labels"
|
||||||
|
@ -30,7 +29,7 @@ import (
|
||||||
|
|
||||||
var cfg = config.RemoteWriteConfig{
|
var cfg = config.RemoteWriteConfig{
|
||||||
Name: "dev",
|
Name: "dev",
|
||||||
URL: &config_util.URL{
|
URL: &common_config.URL{
|
||||||
URL: &url.URL{
|
URL: &url.URL{
|
||||||
Scheme: "http",
|
Scheme: "http",
|
||||||
Host: "localhost",
|
Host: "localhost",
|
||||||
|
@ -46,7 +45,7 @@ func TestNoDuplicateWriteConfigs(t *testing.T) {
|
||||||
|
|
||||||
cfg1 := config.RemoteWriteConfig{
|
cfg1 := config.RemoteWriteConfig{
|
||||||
Name: "write-1",
|
Name: "write-1",
|
||||||
URL: &config_util.URL{
|
URL: &common_config.URL{
|
||||||
URL: &url.URL{
|
URL: &url.URL{
|
||||||
Scheme: "http",
|
Scheme: "http",
|
||||||
Host: "localhost",
|
Host: "localhost",
|
||||||
|
@ -56,7 +55,7 @@ func TestNoDuplicateWriteConfigs(t *testing.T) {
|
||||||
}
|
}
|
||||||
cfg2 := config.RemoteWriteConfig{
|
cfg2 := config.RemoteWriteConfig{
|
||||||
Name: "write-2",
|
Name: "write-2",
|
||||||
URL: &config_util.URL{
|
URL: &common_config.URL{
|
||||||
URL: &url.URL{
|
URL: &url.URL{
|
||||||
Scheme: "http",
|
Scheme: "http",
|
||||||
Host: "localhost",
|
Host: "localhost",
|
||||||
|
@ -65,7 +64,7 @@ func TestNoDuplicateWriteConfigs(t *testing.T) {
|
||||||
QueueConfig: config.DefaultQueueConfig,
|
QueueConfig: config.DefaultQueueConfig,
|
||||||
}
|
}
|
||||||
cfg3 := config.RemoteWriteConfig{
|
cfg3 := config.RemoteWriteConfig{
|
||||||
URL: &config_util.URL{
|
URL: &common_config.URL{
|
||||||
URL: &url.URL{
|
URL: &url.URL{
|
||||||
Scheme: "http",
|
Scheme: "http",
|
||||||
Host: "localhost",
|
Host: "localhost",
|
||||||
|
|
Loading…
Reference in a new issue