Unverified Commit 7657ed2e authored by Darren Shepherd's avatar Darren Shepherd Committed by GitHub

Update pkg/cli/server/server.go

parent 0c29005b
...@@ -266,7 +266,7 @@ func run(app *cli.Context, cfg *cmds.Server) error { ...@@ -266,7 +266,7 @@ func run(app *cli.Context, cfg *cmds.Server) error {
} }
agentConfig := cmds.AgentConfig agentConfig := cmds.AgentConfig
agentConfig.Debug = app.GlobalBool("bool") agentConfig.Debug = app.GlobalBool("debug")
agentConfig.DataDir = filepath.Dir(serverConfig.ControlConfig.DataDir) agentConfig.DataDir = filepath.Dir(serverConfig.ControlConfig.DataDir)
agentConfig.ServerURL = url agentConfig.ServerURL = url
agentConfig.Token = token agentConfig.Token = token
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment