Skip to content

Commit

Permalink
Fix imports formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
armsnyder committed Nov 15, 2018
1 parent 1da36ec commit 08ae3b2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/service/ratelimit.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"strings"
"sync"

"github.com/envoyproxy/go-control-plane/envoy/api/v2/core"
"github.com/lyft/goruntime/loader"
"github.com/lyft/gostats"
pb "github.com/lyft/ratelimit/proto/envoy/service/ratelimit/v2"
Expand All @@ -12,7 +13,6 @@ import (
"github.com/lyft/ratelimit/src/redis"
logger "github.com/sirupsen/logrus"
"golang.org/x/net/context"
"github.com/envoyproxy/go-control-plane/envoy/api/v2/core"
"strconv"
)

Expand Down
2 changes: 1 addition & 1 deletion test/integration/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ import (
"testing"
"time"

"github.com/envoyproxy/go-control-plane/envoy/api/v2/core"
pb "github.com/lyft/ratelimit/proto/envoy/service/ratelimit/v2"
pb_legacy "github.com/lyft/ratelimit/proto/ratelimit"
"github.com/lyft/ratelimit/src/service_cmd/runner"
"github.com/lyft/ratelimit/test/common"
"github.com/stretchr/testify/assert"
"golang.org/x/net/context"
"google.golang.org/grpc"
"github.com/envoyproxy/go-control-plane/envoy/api/v2/core"
)

func newDescriptorStatus(
Expand Down
2 changes: 1 addition & 1 deletion test/service/ratelimit_legacy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package ratelimit_test
import (
"testing"

"github.com/envoyproxy/go-control-plane/envoy/api/v2/core"
"github.com/golang/mock/gomock"
"github.com/golang/protobuf/jsonpb"
"github.com/lyft/gostats"
Expand All @@ -15,7 +16,6 @@ import (
"github.com/lyft/ratelimit/test/common"
"github.com/stretchr/testify/assert"
"golang.org/x/net/context"
"github.com/envoyproxy/go-control-plane/envoy/api/v2/core"
)

func convertRatelimit(ratelimit *pb.RateLimitResponse_RateLimit) (*pb_legacy.RateLimit, error) {
Expand Down
2 changes: 1 addition & 1 deletion test/service/ratelimit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"sync"
"testing"

"github.com/envoyproxy/go-control-plane/envoy/api/v2/core"
"github.com/golang/mock/gomock"
"github.com/lyft/gostats"
pb "github.com/lyft/ratelimit/proto/envoy/service/ratelimit/v2"
Expand All @@ -17,7 +18,6 @@ import (
"github.com/lyft/ratelimit/test/mocks/runtime/snapshot"
"github.com/stretchr/testify/assert"
"golang.org/x/net/context"
"github.com/envoyproxy/go-control-plane/envoy/api/v2/core"
)

type barrier struct {
Expand Down

0 comments on commit 08ae3b2

Please sign in to comment.