fixed the pointer to an pointer.
Dieser Commit ist enthalten in:
Ursprung
7cdf43ef30
Commit
e35cef18d4
|
@ -60,7 +60,7 @@ func NewSAMLEndpoint(config *toml.Tree) (s *SAML, err error) {
|
|||
log.Trace().Str("config", config.String()).Msg("config")
|
||||
var key interface{}
|
||||
s.config = config
|
||||
if err = config.Unmarshal(&s); err != nil {
|
||||
if err = config.Unmarshal(s); err != nil {
|
||||
log.Error().Err(err).Msg("Error while mapping config to struct")
|
||||
return
|
||||
}
|
||||
|
|
Laden…
In neuem Issue referenzieren