Fix staticcheck error from ConfigureACL (#66949)

This commit is contained in:
Dan Upton
2026-05-21 18:05:09 +00:00
committed by GitHub
parent ed00b138ca
commit 6ce005b441
@@ -152,6 +152,7 @@ func (s *KeyAgentService) Run(ctx context.Context) error {
// and permissions to restrict access to it - this is the same as the
// internal.CreateListener method's behavior.
if dir.ACLsEnabled() {
//nolint:staticcheck // staticcheck doesn't like nop implementations in fs_other.go
if err := botfs.ConfigureACL(filepath.Join(dir.Path, libhwk.CertFileName), dir.Readers); err != nil {
return trace.Wrap(err)
}