mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-08-10 16:19:27 +00:00
TUN-4094: Don't read configuration file for access commands
This commit is contained in:
@@ -17,9 +17,9 @@ import (
|
||||
func Command(hidden bool) *cli.Command {
|
||||
return &cli.Command{
|
||||
Name: "proxy-dns",
|
||||
Action: cliutil.Action(Run),
|
||||
Action: cliutil.ConfiguredAction(Run),
|
||||
|
||||
Usage: "Run a DNS over HTTPS proxy server.",
|
||||
Usage: "Run a DNS over HTTPS proxy server.",
|
||||
Flags: []cli.Flag{
|
||||
&cli.StringFlag{
|
||||
Name: "metrics",
|
||||
@@ -112,5 +112,3 @@ func Run(c *cli.Context) error {
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user