]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-volume: Rename env var; add warning
authorZack Cerza <zack@redhat.com>
Tue, 21 Jun 2022 17:28:30 +0000 (11:28 -0600)
committerZack Cerza <zack@redhat.com>
Tue, 12 Jul 2022 19:06:47 +0000 (13:06 -0600)
commit69f58f51a2d7967d597a8d61c0ab20b52e8dc374
tree987c0103134dcbb6554e259df41bed1edddb50d0
parentc7f017b21ade3762ba5b7b9688bed72c6b60dc0e
ceph-volume: Rename env var; add warning

So that we can have a nice big warning that fires once per invocation, I
think using a callable class with a class attribute seems like a decent
approach. A closure could work too.

Signed-off-by: Zack Cerza <zack@redhat.com>
src/ceph-volume/ceph_volume/tests/util/test_device.py
src/ceph-volume/ceph_volume/tests/util/test_disk.py
src/ceph-volume/ceph_volume/util/device.py
src/ceph-volume/ceph_volume/util/disk.py