cmd/dex/serve.go: log static client name instead of ID

Signed-off-by: Yann Soubeyrand <yann.soubeyrand@gmx.fr>
This commit is contained in:
Yann Soubeyrand 2019-04-18 12:07:36 +02:00
parent 29d8428387
commit c5f2871ab5

View File

@ -161,7 +161,7 @@ func serve(cmd *cobra.Command, args []string) error {
if len(c.StaticClients) > 0 { if len(c.StaticClients) > 0 {
for _, client := range c.StaticClients { for _, client := range c.StaticClients {
logger.Infof("config static client: %s", client.ID) logger.Infof("config static client: %s", client.Name)
} }
s = storage.WithStaticClients(s, c.StaticClients) s = storage.WithStaticClients(s, c.StaticClients)
} }