Skip to content

Commit

Permalink
fixed an issue where integration tests failed:ambulance:
Browse files Browse the repository at this point in the history
  • Loading branch information
gongna-au committed Oct 30, 2023
1 parent 49dbf00 commit 1f1106d
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions pkg/config/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,15 @@ import (
"strings"
"time"
"unicode"
)

import (
"github.com/arana-db/arana/pkg/util/log"
"github.com/go-playground/validator/v10"

"github.com/pkg/errors"

"golang.org/x/text/cases"
"golang.org/x/text/language"

"gopkg.in/yaml.v3"
)

import (
"github.com/arana-db/arana/pkg/util/log"
)

type (
DataRevision interface {
Revision() string
Expand Down Expand Up @@ -88,7 +80,7 @@ type (
Trace *Trace `yaml:"trace" json:"trace"`
Supervisor *User `validate:"required,dive" yaml:"supervisor" json:"supervisor"`
Logging *log.Config `validate:"required,dive" yaml:"logging" json:"logging"`
Stats *StatsConfig `validate:"required,dive" yaml:"stats" json:"stats"`
Stats *StatsConfig `yaml:"stats" json:"stats"`
}

StatsConfig struct {
Expand Down

0 comments on commit 1f1106d

Please sign in to comment.