mirror of
https://github.com/gravitational/teleport.git
synced 2026-09-24 16:17:11 +08:00
Fix staticcheck error from ConfigureACL (#66949)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user