[storage] clean imports (#7099)

Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>
pull/7104/head
ga 5 years ago committed by GitHub
parent ecda6013ed
commit 9a21fdcd1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -21,7 +21,6 @@ import (
"time"
common_config "github.com/prometheus/common/config"
config_util "github.com/prometheus/common/config"
"github.com/prometheus/common/model"
"github.com/prometheus/prometheus/config"
"github.com/prometheus/prometheus/pkg/labels"
@ -30,7 +29,7 @@ import (
var cfg = config.RemoteWriteConfig{
Name: "dev",
URL: &config_util.URL{
URL: &common_config.URL{
URL: &url.URL{
Scheme: "http",
Host: "localhost",
@ -46,7 +45,7 @@ func TestNoDuplicateWriteConfigs(t *testing.T) {
cfg1 := config.RemoteWriteConfig{
Name: "write-1",
URL: &config_util.URL{
URL: &common_config.URL{
URL: &url.URL{
Scheme: "http",
Host: "localhost",
@ -56,7 +55,7 @@ func TestNoDuplicateWriteConfigs(t *testing.T) {
}
cfg2 := config.RemoteWriteConfig{
Name: "write-2",
URL: &config_util.URL{
URL: &common_config.URL{
URL: &url.URL{
Scheme: "http",
Host: "localhost",
@ -65,7 +64,7 @@ func TestNoDuplicateWriteConfigs(t *testing.T) {
QueueConfig: config.DefaultQueueConfig,
}
cfg3 := config.RemoteWriteConfig{
URL: &config_util.URL{
URL: &common_config.URL{
URL: &url.URL{
Scheme: "http",
Host: "localhost",

Loading…
Cancel
Save