Migrate to oauth2-proxy/oauth2-proxy

This commit is contained in:
Joel Speed
2020-03-29 15:40:10 +01:00
parent 4cdedc8f50
commit 802754caad
73 changed files with 310 additions and 311 deletions
+3 -3
View File
@@ -12,12 +12,12 @@ import (
"github.com/BurntSushi/toml"
options "github.com/mreiferson/go-options"
"github.com/pusher/oauth2_proxy/pkg/logger"
"github.com/oauth2-proxy/oauth2-proxy/pkg/logger"
)
func main() {
logger.SetFlags(logger.Lshortfile)
flagSet := flag.NewFlagSet("oauth2_proxy", flag.ExitOnError)
flagSet := flag.NewFlagSet("oauth2-proxy", flag.ExitOnError)
emailDomains := StringArray{}
whitelistDomains := StringArray{}
@@ -145,7 +145,7 @@ func main() {
flagSet.Parse(os.Args[1:])
if *showVersion {
fmt.Printf("oauth2_proxy %s (built with %s)\n", VERSION, runtime.Version())
fmt.Printf("oauth2-proxy %s (built with %s)\n", VERSION, runtime.Version())
return
}