]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: file copy moved to seperate method
authorPaul Cuzner <pcuzner@redhat.com>
Tue, 17 Nov 2020 20:29:14 +0000 (09:29 +1300)
committerPaul Cuzner <pcuzner@redhat.com>
Tue, 17 Nov 2020 20:29:14 +0000 (09:29 +1300)
commitc4d9fc1a736cf117a344d5258121d8b7efbe8fee
tree6ef094aa82fea6c52cb0ac472f6e7bdf3daf042b
parentc13ebf64b8d0e809ce1d9bac0c7db196c012ded8
cephadm: file copy moved to seperate method

Moving to a separate method, means the copy can be
mocked out within the unit tests.

In addition, the the generate_config call has been removed
from the add_cephadm_exporter since it's not needed.

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
src/pybind/mgr/cephadm/module.py