Skip to content

Commit

Permalink
bug: fix bug with duplicate store config
Browse files Browse the repository at this point in the history
  • Loading branch information
greenpau committed Mar 16, 2024
1 parent 8611a21 commit 08d3bc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ func (cfg *Config) Validate() error {

var storeConfig *ids.IdentityStoreConfig
for _, entry := range cfg.IdentityStores {
storeConfig = entry
if entry.Name == storeName {
storeConfig = entry
break
}
}
Expand Down

0 comments on commit 08d3bc2

Please sign in to comment.