From: Kyr Shatskyy Date: Fri, 11 Oct 2019 03:49:35 +0000 (+0200) Subject: openstack: delete unused __flavor and __flavor_range methods X-Git-Tag: 1.1.0~211^2~3 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=ecbb02b93b786fcea39eff6b648e691eafd55c32;p=teuthology.git openstack: delete unused __flavor and __flavor_range methods Signed-off-by: Kyr Shatskyy --- diff --git a/teuthology/openstack/__init__.py b/teuthology/openstack/__init__.py index 545b9fb1b7..86b13e5173 100644 --- a/teuthology/openstack/__init__.py +++ b/teuthology/openstack/__init__.py @@ -431,10 +431,6 @@ class OpenStack(object): log.debug("sorted flavors = " + str(sorted_flavors)) return sorted_flavors - def __flavor(self, hint, arch, select): - flavors = self.get_sorted_flavors(arch, select) - return self.__flavor(self, hint, flavors) - def __flavor(self, hint, flavors): """ Return the smallest flavor that satisfies the desired size. @@ -449,10 +445,6 @@ class OpenStack(object): " does not contain a flavor in which" + " the desired " + str(hint) + " can fit") - def __flavor_range(self, min, good, arch, select): - flavors = self.get_sorted_flavors(arch, select) - return self.__flavor_range(self, min, good, flavors) - def __flavor_range(self, min, good, flavors): """ Return the smallest flavor that satisfies the good hint.