In Train cycle, we moved the definition of default values
to openstack_dashboard/defaults.py. The current code accesses
a dict member using []. It requires operators to define a dict
setting with a full member.
This commit allows to use dict-type settings with partial members.
A new function is introduced to retrieve a dict-type setting
considering default values defined in
{openstack_dashboard,horizon,openstack_auth}/defaults.py
Reviewed: https:/ /review. opendev. org/684792 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=ec970fd6e85 b19126409ef39ae fa013bac701503
Committed: https:/
Submitter: Zuul
Branch: master
commit ec970fd6e85b191 26409ef39aefa01 3bac701503
Author: Akihiro Motoki <email address hidden>
Date: Wed Sep 25 21:29:05 2019 +0900
Handle partial dict setting
In Train cycle, we moved the definition of default values dashboard/ defaults. py. The current code accesses
to openstack_
a dict member using []. It requires operators to define a dict
setting with a full member.
This commit allows to use dict-type settings with partial members.
A new function is introduced to retrieve a dict-type setting dashboard, horizon, openstack_ auth}/defaults. py
considering default values defined in
{openstack_
Change-Id: I7ff0ad4bca698a ef9c0eba370b057 0200a14367a
Closes-Bug: #1843104