Skip to content

Commit

Permalink
Move DID into SrvConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
vkuznet committed Apr 12, 2024
1 parent b864f18 commit 2b79051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ type MetaData struct {

// CHESSMetaData represents CHESS MetaData configuration
type CHESSMetaData struct {
DID `mapstructure:"DID"`
WebServer `mapstructure:"WebServer"`
MongoDB `mapstructure:"MongoDB"`
LexiconFile string `mapstructure:"LexiconFile"` // lexicon file
Expand Down Expand Up @@ -262,6 +261,7 @@ type Services struct {

// SrvConfig represents configuration structure
type SrvConfig struct {
DID `mapstructure:"DID"`
LDAP `mapstructure:LDAP`
Frontend `mapstructure:"Frontend"`
Discovery `mapstructure:"Discovery"`
Expand Down

0 comments on commit 2b79051

Please sign in to comment.