You've already forked oauth2-proxy
mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2025-11-29 22:48:19 +02:00
Add Azure Provider
This commit is contained in:
committed by
Jehiah Czebotar
parent
d5a332c3f2
commit
10f47e325b
@@ -41,9 +41,8 @@ func WatchForUpdates(filename string, done <-chan bool, action func()) {
|
||||
for {
|
||||
select {
|
||||
case _ = <-done:
|
||||
log.Printf("Shutting down watcher for: %s",
|
||||
filename)
|
||||
return
|
||||
log.Printf("Shutting down watcher for: %s", filename)
|
||||
break
|
||||
case event := <-watcher.Events:
|
||||
// On Arch Linux, it appears Chmod events precede Remove events,
|
||||
// which causes a race between action() and the coming Remove event.
|
||||
|
||||
Reference in New Issue
Block a user