Project

General

Profile

Actions

Feature #10594

open

[API] [Workbench] Error out when unrecognized keys appear in config files

Added by Tom Clegg almost 8 years ago. Updated 9 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
API
Target version:
Story points:
0.5
Release:
Release relationship:
Auto

Description

Currently, if a configuration key is misspelled or misplaced in a configuration file, it is silently ignored.

In source:services/api/config/initializers/load_config.rb and source:apps/workbench/config/initializers/load_config.rb, stash $application_config.deep_dup (or even just $application_config.keys) after reading the default config file. Then, after reading site config, error out if any new keys have appeared.


Related issues

Related to Arvados - Bug #10282: [Go programs]Warn or error when unrecognized keys appear in config filesClosedActions
Actions

Also available in: Atom PDF