]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/workunits/cephadm/test_cephadm.sh: add `cleanup` function
authorMichael Fritch <mfritch@suse.com>
Fri, 28 Feb 2020 21:45:42 +0000 (14:45 -0700)
committerMichael Fritch <mfritch@suse.com>
Fri, 28 Feb 2020 21:45:42 +0000 (14:45 -0700)
commit3cc2fc9f5fdf520ecc955b9ab7bb8406c534d159
tree40f5fc66205c771b6c4871ec56594d13fad6fb96
parentbb6ca5c2df6adff460d80cdeff1f9dbda681987b
qa/workunits/cephadm/test_cephadm.sh: add `cleanup` function

moves logic for clean-up during `trap EXIT` into a function

Signed-off-by: Michael Fritch <mfritch@suse.com>
qa/workunits/cephadm/test_cephadm.sh