Skip to content
Snippets Groups Projects
Commit 20ca3ebd authored by Karel van Klink's avatar Karel van Klink :smiley_cat:
Browse files

Make archive parameter mandatory on kentik device deletion

parent a1305f70
No related branches found
No related tags found
1 merge request!257Feature/add kentik workflow
......@@ -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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment