Skip to content

Commit

Permalink
Remove unused parameters from configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
akscram committed Dec 26, 2016
1 parent 3fa50d0 commit a0682a1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion etc/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ sources:
elastic_src: http://1.2.3.4:9200/log-*/log
backend:
elastic: http://4.3.2.1:9200/
elastic_index: ms_health_idx_1
config:
run_every_minutes: 2
3 changes: 3 additions & 0 deletions health/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
},
},
"required": ["region", "driver"],
"additionalProperties": False,
},
},
"backend": {
Expand All @@ -62,6 +63,7 @@
},
},
"required": ["elastic"],
"additionalProperties": False,
},
"config": {
"type": "object",
Expand All @@ -71,5 +73,6 @@
"minimum": 1,
},
},
"additionalProperties": False,
},
}
1 change: 0 additions & 1 deletion tests/files/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ sources:
elastic_src: http://1.2.3.4:9200/log-*/log
backend:
elastic: http://4.3.2.1:9200/
elastic_index: ms_health_idx_1
config:
run_every_minutes: 2

0 comments on commit a0682a1

Please sign in to comment.