From d8bb666e8d2c0faa0e8aff906cd2b539e8729121 Mon Sep 17 00:00:00 2001 From: willi Date: Wed, 9 Oct 2024 16:39:57 +0200 Subject: [PATCH] Actually use PAM Service Name if set Get PAMDetailsKey instead of OidcDetailsKey from etcd in GetPAM function. This was likely a copy and paste error. --- internal/data/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/data/config.go b/internal/data/config.go index 27a3b4e5..7ad963a1 100644 --- a/internal/data/config.go +++ b/internal/data/config.go @@ -93,7 +93,7 @@ func getInt(key string) (ret int, err error) { func GetPAM() (details PAM, err error) { - response, err := etcd.Get(context.Background(), OidcDetailsKey) + response, err := etcd.Get(context.Background(), PamDetailsKey) if err != nil { return PAM{}, err }