diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2016-11-16 13:26:55 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2016-11-16 13:26:55 +0100 |
| commit | b3f4be087788cfeb32056e9524c530cccfd70885 (patch) | |
| tree | 4a9d28a2e0e6ab06f9c38f938ce9f554a026cbc2 | |
| parent | 128816142ca13daa0c093775c9bd8f52468f201f (diff) | |
config: whitelist name parameter
| -rw-r--r-- | config/config.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/config.go b/config/config.go index f400c49a5..c64d5c5e0 100644 --- a/config/config.go +++ b/config/config.go @@ -276,6 +276,7 @@ func checkUnknownFields(data []byte) (string, error) { // While https://github.com/golang/go/issues/15314 is not resolved // we don't have a better way than to enumerate all known fields. var fields = []string{ + "Name", "Http", "Rpc", "Workdir", |
