Skip to content

Commit

Permalink
fix: setting tags for serialization (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
dk-lockdown authored Aug 13, 2022
1 parent 6f496d3 commit df533f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/filter/breaker/breaker.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ type _filter struct {
}

type CircuitBreakerConfig struct {
ErrorThreshold int
SuccessThreshold int
Timeout int
ErrorThreshold int `yaml:"error_threshold" json:"error_threshold"`
SuccessThreshold int `yaml:"success_threshold" json:"success_threshold"`
Timeout int `yaml:"timeout" json:"timeout"`
}

func (f *_filter) GetKind() string {
Expand Down

0 comments on commit df533f7

Please sign in to comment.