]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: use orchestrator_cli to figure out the backend
authorJeff Layton <jlayton@redhat.com>
Thu, 7 Feb 2019 18:00:38 +0000 (13:00 -0500)
committerJeff Layton <jlayton@redhat.com>
Tue, 12 Feb 2019 13:08:18 +0000 (08:08 -0500)
commit2b836601451d67d8da0a10dbe439707bde9402a8
treeb06bfa0329591c78cbfdff928d7ea81bc5756401
parent55422589cef06195de13c484a48de1cb80467dbe
mgr/dashboard: use orchestrator_cli to figure out the backend

Currently the dashboard has its own setting for the orchestrator
backend, which means that one has to set it in both the dashboard and
the orchestrator_cli module if you intend to use both.

Change the dashboard code to use the setting in the orchestrator_cli
module, and eliminate the dashboard-specific setting.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
src/pybind/mgr/dashboard/services/orchestrator.py
src/pybind/mgr/dashboard/settings.py