Skip to content

Commit

Permalink
remove dup check
Browse files Browse the repository at this point in the history
  • Loading branch information
longquanzheng authored Jun 2, 2021
1 parent fb8307f commit 44f3210
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions common/config/persistence.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ func (c *Persistence) DefaultStoreType() string {

// Validate validates the persistence config
func (c *Persistence) Validate() error {
if _, ok := c.DataStores[c.DefaultStore]; !ok {
return fmt.Errorf("persistence config: missing config for datastore %v", c.DefaultStore)
}
dbStoreKeys := []string{c.DefaultStore}

if _, ok := c.DataStores[c.VisibilityStore]; ok {
Expand Down

0 comments on commit 44f3210

Please sign in to comment.