Skip to content

Commit

Permalink
chore(statsd) remove required attribute when defaults are provided
Browse files Browse the repository at this point in the history
From #3209
  • Loading branch information
shashi ranjan authored and thibaultcha committed Feb 14, 2018
1 parent 388c707 commit 9f67a1b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions kong/plugins/statsd/schema.lua
Original file line number Diff line number Diff line change
Expand Up @@ -140,18 +140,15 @@ end
return {
fields = {
host = {
required = true,
type = "string",
default = "localhost",
},
port = {
required = true,
type = "number",
default = 8125,
},
metrics = {
type = "array",
required = true,
default = default_metrics,
func = check_schema,
},
Expand Down

0 comments on commit 9f67a1b

Please sign in to comment.