Skip to content

Commit

Permalink
Fix shard ID filter (#3451)
Browse files Browse the repository at this point in the history
* Fix shard ID fitler
  • Loading branch information
yux0 committed Aug 13, 2020
1 parent 08b7307 commit b88f20a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/service/dynamicconfig/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@ const (
type Filter int

func (f Filter) String() string {
if f <= unknownFilter || f > TaskType {
if f <= unknownFilter || f > ShardID {
return filters[unknownFilter]
}
return filters[f]
Expand Down

0 comments on commit b88f20a

Please sign in to comment.