Skip to content
Snippets Groups Projects
Verified Commit 1f3dc571 authored by Karel van Klink's avatar Karel van Klink :smiley_cat:
Browse files

Make archive parameter mandatory on kentik device deletion

parent 2c810f8d
No related branches found
No related tags found
No related merge requests found
...@@ -179,7 +179,7 @@ class KentikClient: ...@@ -179,7 +179,7 @@ class KentikClient:
self._send_delete(f"v5/device/{device_id}") 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`.""" """Remove a device from Kentik, by its :term:`FQDN`."""
device_id = self.get_device_by_name(fqdn)["id"] device_id = self.get_device_by_name(fqdn)["id"]
self.remove_device(device_id, archive=archive) self.remove_device(device_id, archive=archive)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment