14717: Fix fallback behavior for component config vs main config
authorPeter Amstutz <pamstutz@veritasgenetics.com>
Mon, 22 Jul 2019 17:59:36 +0000 (13:59 -0400)
committerPeter Amstutz <pamstutz@veritasgenetics.com>
Thu, 25 Jul 2019 13:34:09 +0000 (09:34 -0400)
commit72a8b3582d925ea30fe78697ff76bafb20d8bd9e
tree45bc8724882f83d1a3ffc614b2817ef1eac31aee
parent0e5ee27bb7bef018395a73f1fa2617050dc18d7a
14717: Fix fallback behavior for component config vs main config

For backwards compatability, we need to be able to start with only a
component config and not the main config, and it is a fatal error if
it doesn't exist.

However, if there is a main config, and then it is okay if the
component config doesn't exist.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>
lib/config/deprecated.go
lib/config/load.go
sdk/go/arvados/config.go
services/crunch-dispatch-slurm/crunch-dispatch-slurm.go
services/ws/main.go
services/ws/router.go
services/ws/server_test.go