diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-21 16:15:51 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-21 16:15:51 -0600 |
| commit | a920a8cfe415858bb2777371a77018599ffed23f (patch) | |
| tree | dd7dcf8e78ea554d071ad502f92b7908687daa3e /pkg/authz | |
| parent | 16c27cd885b9c0d1241dfead3120643f0e8c556c (diff) | |
| parent | 5f76ebe3b95b491a7a07ddb9dd5799735cf3e159 (diff) | |
Merge branch 'minit' into 'main'
Replace entrypoint.sh with a Procfile runner
See merge request gitlab-org/software-supply-chain-security/authorization/sparkled!18
Diffstat (limited to 'pkg/authz')
| -rw-r--r-- | pkg/authz/server.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/authz/server.go b/pkg/authz/server.go index 4ab7c17..c54077b 100644 --- a/pkg/authz/server.go +++ b/pkg/authz/server.go @@ -37,7 +37,7 @@ func New(ctx context.Context, options ...grpc.ServerOption) *Server { func authorizationServiceFor(ctx context.Context) auth.AuthorizationServer { connection := Connection.From(ctx) - svcs := []auth.AuthorizationServer{} + svcs := []auth.AuthorizationServer{NewLocalCheckService()} if x.IsPresent(connection) { pls.LogNow(ctx, log.Fields{"authzd": map[string]string{ "target": connection.CanonicalTarget(), @@ -45,6 +45,5 @@ func authorizationServiceFor(ctx context.Context) auth.AuthorizationServer { }}) svcs = append(svcs, NewRemoteCheckService(auth.NewAuthorizationClient(connection))) } - svcs = append(svcs, NewLocalCheckService()) return NewCheckService(svcs) } |
