mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
Add metrics for custom auth plugin (#16701)
This commit is contained in:
committed by
GitHub
parent
fe7bf6cbbc
commit
8cde38404d
@@ -243,7 +243,7 @@ func (sys *IAMSys) Init(ctx context.Context, objAPI ObjectLayer, etcdClient *etc
|
||||
logger.LogIf(ctx, fmt.Errorf("Unable to initialize AuthNPlugin: %w", err))
|
||||
}
|
||||
|
||||
setGlobalAuthNPlugin(idplugin.New(authNPluginCfg))
|
||||
setGlobalAuthNPlugin(idplugin.New(GlobalContext, authNPluginCfg))
|
||||
|
||||
authZPluginCfg, err := polplugin.LookupConfig(s, GetDefaultConnSettings(), xhttp.DrainBody)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user