Compare commits
1 commit
bfd4fbe75b
...
8e2b9b859a
Author | SHA1 | Date | |
---|---|---|---|
8e2b9b859a |
1 changed files with 3 additions and 3 deletions
|
@ -70,13 +70,13 @@ func main() {
|
|||
Type: "refuseAll",
|
||||
Config: nil,
|
||||
}); err != nil {
|
||||
logger.L.Errorf("Failed to add connector for backend RefuseAll to stage: %s", err)
|
||||
logger.L.Errorf("Failed to add connector for backend RefuseAll to stage: %s", err.Error())
|
||||
}
|
||||
|
||||
for _, backend := range conf.OpenConnectConfig.BackendConfigs {
|
||||
backendConfJson, err := json.Marshal(backend.Config)
|
||||
if err != nil {
|
||||
logger.L.Errorf("Failed to serialize oidc config for backend %q: %s", backend.Name, err)
|
||||
logger.L.Errorf("Failed to serialize oidc config for backend %q: %s", backend.Name, err.Error())
|
||||
continue
|
||||
}
|
||||
if err := dexConf.Storage.CreateConnector(storage.Connector{
|
||||
|
@ -85,7 +85,7 @@ func main() {
|
|||
Type: backend.Type,
|
||||
Config: backendConfJson,
|
||||
}); err != nil {
|
||||
logger.L.Errorf("Failed to add connector for backend %q to stage: %s", backend.Name, err)
|
||||
logger.L.Errorf("Failed to add connector for backend %q to stage: %s", backend.Name, err.Error())
|
||||
continue
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue