add test for removing disconnected participants on signal close (#1896)

* add test for removing disconnected participants on signal close

* cleanup
This commit is contained in:
Paul Wells
2023-07-20 21:21:40 -07:00
committed by GitHub
parent 3980d049c9
commit 6c20c7eb15
3 changed files with 163 additions and 84 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ func createKeyProvider(conf *config.Config) (auth.KeyProvider, error) {
if st, err := os.Stat(conf.KeyFile); err != nil {
return nil, err
} else if st.Mode().Perm()&otherFilter != 0000 {
return nil, fmt.Errorf("key file others permission must be set to 0")
return nil, fmt.Errorf("key file others permissions must be set to 0")
}
f, err := os.Open(conf.KeyFile)
if err != nil {