Skip to content

Commit

Permalink
Fix gitignore binary file
Browse files Browse the repository at this point in the history
  • Loading branch information
iknite committed Feb 19, 2019
1 parent fc8765f commit 886ea79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*.dll
*.so
*.dylib
./qed
/qed

# Autogenerated code
tests/plot.hmtl
Expand Down
4 changes: 2 additions & 2 deletions cmd/agent_monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func newAgentMonitorCommand(ctx *cmdContext, config *gossip.Config, agentPreRun
agentPreRun(cmd, args)

// Bindings
monitorConfig.QedUrls = v.GetStringSlice("agent.server_urls")
monitorConfig.QEDUrls = v.GetStringSlice("agent.server_urls")
monitorConfig.PubUrls = v.GetStringSlice("agent.alert_urls")
markSliceStringRequired(monitorConfig.QedUrls, "qedUrls")
markSliceStringRequired(monitorConfig.PubUrls, "pubUrls")
Expand Down Expand Up @@ -75,7 +75,7 @@ func newAgentMonitorCommand(ctx *cmdContext, config *gossip.Config, agentPreRun
}

f := cmd.Flags()
f.StringSliceVarP(&monitorConfig.QedUrls, "qedUrls", "", []string{}, "Comma-delimited list of QED servers ([host]:port), through which a monitor can make queries")
f.StringSliceVarP(&monitorConfig.QEDUrls, "qedUrls", "", []string{}, "Comma-delimited list of QED servers ([host]:port), through which a monitor can make queries")
f.StringSliceVarP(&monitorConfig.PubUrls, "pubUrls", "", []string{}, "Comma-delimited list of QED servers ([host]:port), through which an monitor can publish alerts")

// Lookups
Expand Down

0 comments on commit 886ea79

Please sign in to comment.