From 52314dbda6f510017094e63c160b44cce722d07f Mon Sep 17 00:00:00 2001 From: husharp Date: Thu, 21 Jul 2022 15:22:18 +0800 Subject: [PATCH] format import Signed-off-by: husharp --- client/client.go | 2 +- tests/compatibility/version_upgrade_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/client.go b/client/client.go index c4e89f256ae..970b0df2938 100644 --- a/client/client.go +++ b/client/client.go @@ -17,7 +17,6 @@ package pd import ( "context" "fmt" - "github.com/prometheus/client_golang/prometheus" "math/rand" "strings" "sync" @@ -30,6 +29,7 @@ import ( "github.com/pingcap/kvproto/pkg/metapb" "github.com/pingcap/kvproto/pkg/pdpb" "github.com/pingcap/log" + "github.com/prometheus/client_golang/prometheus" "github.com/tikv/pd/client/errs" "github.com/tikv/pd/client/grpcutil" "go.uber.org/zap" diff --git a/tests/compatibility/version_upgrade_test.go b/tests/compatibility/version_upgrade_test.go index 35961298dd6..11573e6da2f 100644 --- a/tests/compatibility/version_upgrade_test.go +++ b/tests/compatibility/version_upgrade_test.go @@ -16,10 +16,10 @@ package compatibility_test import ( "context" - "github.com/pingcap/errors" "testing" "github.com/coreos/go-semver/semver" + "github.com/pingcap/errors" "github.com/pingcap/kvproto/pkg/metapb" "github.com/pingcap/kvproto/pkg/pdpb" "github.com/stretchr/testify/require"