mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2024-11-28 09:08:44 +02:00
Merge pull request #106 from 18F/fix-watcher-build-tags
Fix unsupported WatchForUpdates and build tags
This commit is contained in:
commit
577a3f7f09
@ -1,5 +1,4 @@
|
||||
// +build go1.3
|
||||
// +build !plan9,!solaris,!windows
|
||||
// +build go1.3,!plan9,!solaris,!windows
|
||||
|
||||
// Turns out you can't copy over an existing file on Windows.
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
// +build go1.3
|
||||
// +build !plan9,!solaris
|
||||
// +build go1.3,!plan9,!solaris
|
||||
|
||||
package main
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
// +build go1.3
|
||||
// +build !plan9,!solaris
|
||||
// +build go1.3,!plan9,!solaris
|
||||
|
||||
package main
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
// +build go1.1
|
||||
// +build plan9,solaris
|
||||
// +build !go1.3 plan9 solaris
|
||||
|
||||
package main
|
||||
|
||||
@ -7,7 +6,7 @@ import (
|
||||
"log"
|
||||
)
|
||||
|
||||
func WatchForUpdates(filename string, action func()) bool {
|
||||
func WatchForUpdates(filename string, done <-chan bool, action func()) bool {
|
||||
log.Printf("file watching not implemented on this platform")
|
||||
return false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user