flake8
This commit is contained in:
parent
3e7943b9fe
commit
23ce38e002
@ -12,8 +12,6 @@
|
|||||||
# You should have received a copy of the GNU Affero General Public License
|
# You should have received a copy of the GNU Affero General Public License
|
||||||
# along with this program. If not, see <http:#www.gnu.org/licenses/>.
|
# along with this program. If not, see <http:#www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import sys
|
|
||||||
|
|
||||||
from datetime import datetime, timezone
|
from datetime import datetime, timezone
|
||||||
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
@ -162,9 +160,9 @@ class K8sDeployer(Deployer):
|
|||||||
print(f"{ingress_resp}")
|
print(f"{ingress_resp}")
|
||||||
else:
|
else:
|
||||||
if opts.o.debug:
|
if opts.o.debug:
|
||||||
print(f"No ingress configured")
|
print("No ingress configured")
|
||||||
|
|
||||||
def down(self, timeout, volumes):
|
def down(self, timeout, volumes): # noqa: C901
|
||||||
self.connect_api()
|
self.connect_api()
|
||||||
# Delete the k8s objects
|
# Delete the k8s objects
|
||||||
# Create the host-path-mounted PVs for this deployment
|
# Create the host-path-mounted PVs for this deployment
|
||||||
@ -244,7 +242,7 @@ class K8sDeployer(Deployer):
|
|||||||
_check_delete_exception(e)
|
_check_delete_exception(e)
|
||||||
else:
|
else:
|
||||||
if opts.o.debug:
|
if opts.o.debug:
|
||||||
print(f"No ingress to delete")
|
print("No ingress to delete")
|
||||||
|
|
||||||
if self.is_kind():
|
if self.is_kind():
|
||||||
# Destroy the kind cluster
|
# Destroy the kind cluster
|
||||||
|
Loading…
Reference in New Issue
Block a user