From 20ca3ebd064f9647620c5b844b7c789ae0b5c6cf Mon Sep 17 00:00:00 2001 From: Karel van Klink <karel.vanklink@geant.org> Date: Thu, 15 Aug 2024 09:43:14 +0200 Subject: [PATCH] Make archive parameter mandatory on kentik device deletion --- gso/services/kentik_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gso/services/kentik_client.py b/gso/services/kentik_client.py index e00bd6f8..95d55e22 100644 --- a/gso/services/kentik_client.py +++ b/gso/services/kentik_client.py @@ -179,7 +179,7 @@ class KentikClient: self._send_delete(f"v5/device/{device_id}") - def remove_device_by_fqdn(self, fqdn: str, *, archive: bool = True) -> None: + def remove_device_by_fqdn(self, fqdn: str, *, archive: bool) -> None: """Remove a device from Kentik, by its :term:`FQDN`.""" device_id = self.get_device_by_name(fqdn)["id"] self.remove_device(device_id, archive=archive) -- GitLab