Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
Signed-off-by: YarBor <[email protected]>
  • Loading branch information
YarBor committed Sep 2, 2024
1 parent df33df9 commit e5cbf5d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
11 changes: 8 additions & 3 deletions api/mesh/v1alpha1/virtual_service_help.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,22 @@
package v1alpha1

import (
"github.com/apache/dubbo-kubernetes/pkg/util/sets"
"github.com/golang/protobuf/proto"
"golang.org/x/exp/slices"
"regexp"
"strings"
)

import (
"github.com/golang/protobuf/proto"

"golang.org/x/exp/slices"

"google.golang.org/protobuf/types/known/durationpb"
)

import (
"github.com/apache/dubbo-kubernetes/pkg/util/sets"
)

type TrafficRoute_Http_Match struct {
Authority *StringMatch
Method *StringMatch
Expand Down
5 changes: 4 additions & 1 deletion pkg/core/consts/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,13 @@
package consts

import (
set "github.com/dubbogo/gost/container/set"
"time"
)

import (
set "github.com/dubbogo/gost/container/set"
)

const (
DubboPropertyKey = "dubbo.properties"
RegistryAddressKey = "dubbo.registry.address"
Expand Down
3 changes: 2 additions & 1 deletion pkg/xds/envoy/virtualhosts/routes_configurer.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@
package virtualhosts

import (
"github.com/golang/protobuf/ptypes/wrappers"
"sort"
)

import (
envoy_config_core_v3 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
envoy_config_route_v3 "github.com/envoyproxy/go-control-plane/envoy/config/route/v3"
envoy_type_matcher_v3 "github.com/envoyproxy/go-control-plane/envoy/type/matcher/v3"

"github.com/golang/protobuf/ptypes/wrappers"
)

import (
Expand Down

0 comments on commit e5cbf5d

Please sign in to comment.