Skip to content

Commit

Permalink
Make env var names consistent with other integrations (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
satterly authored Jun 29, 2019
1 parent 3baa740 commit d42a405
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ var (
stdin *os.File
config = HandlerConfig{
// default values
AlertaEndpoint: HandlerConfigOption{Path: "endpoint-url", Env: "SENSU_ALERTA_ENDPOINT"},
AlertaApiKey: HandlerConfigOption{Path: "api-key", Env: "SENSU_ALERTA_API_KEY"},
AlertaEndpoint: HandlerConfigOption{Path: "endpoint-url", Env: "ALERTA_ENDPOINT"},
AlertaApiKey: HandlerConfigOption{Path: "api-key", Env: "ALERTA_API_KEY"},
Timeout: 10,
Keyspace: "sensu.io/plugins/alerta/config",
}
Expand Down

0 comments on commit d42a405

Please sign in to comment.