Darren Shepherd
672e4c07af
Fix typo, "contents" should be "content"
...
The validation of the encoding for write_files was looking
for a node named "contents" when the node name is "content"
Signed-off-by: Darren Shepherd <darren@rancher.com>
2015-02-23 09:17:21 -07:00
Jonathan Boulle
c093e44049
Merge pull request #305 from jonboulle/copyright
...
*: switch to line comments for copyright
2015-01-25 10:28:52 -08:00
Jonathan Boulle
be68a8e5cc
*: switch to line comments for copyright
...
Build tags are not compatible with block comments. Also adds copyright
header to a few places it was missing.
2015-01-24 19:32:33 -08:00
Alex Crawford
551cbb1e5d
config/validate: add rule for file encoding
2015-01-15 15:01:44 -08:00
Alex Crawford
f61c08c246
config/validate: add rule for coreos.write_files
2015-01-15 15:01:44 -08:00
Alex Crawford
571903cec6
config/validate: add rule for etcd discovery token
2015-01-15 15:01:44 -08:00
Alex Crawford
bdbd1930ed
config/validate: add rule for file paths
2015-01-15 15:01:44 -08:00
Alex Crawford
fc77ba6355
validate: allow promotion of int to float64
2015-01-14 17:54:01 -08:00
Alex Crawford
54a64454b9
validate: fix printing for non-string values
2014-12-30 16:20:21 +01:00
Alex Crawford
7447e133c9
validate: promote invalid values to an error
2014-11-26 10:29:09 -08:00
Alex Crawford
4a0019c669
config: add support for float64
2014-11-21 16:13:49 -08:00
Alex Crawford
055a3c339a
config/validate: add new config validator
...
This validator is still experimental and is going to need new rules in the
future. This lays out the general framework.
2014-11-12 16:48:57 -08:00