]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cephadm: add BasicContainer stub class
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 21 Jun 2023 18:05:18 +0000 (14:05 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Wed, 9 Aug 2023 17:48:07 +0000 (13:48 -0400)
Add a BasicContainer class that will act as a base class for
CephContainer and any future XyzContainer classes. The class
is currently a stub that provides no functionality.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/cephadm/cephadm.py

index 3c04eadb9a820e68683e501a2dd230104ed70cd2..a63babcdf7219e8d69c7ca7c08f650e3ea8e4b15 100755 (executable)
@@ -4396,7 +4396,11 @@ WantedBy=ceph-{fsid}.target
 ##################################
 
 
-class CephContainer:
+class BasicContainer:
+    pass
+
+
+class CephContainer(BasicContainer):
     def __init__(self,
                  ctx: CephadmContext,
                  image: str,