Skip to content

Commit

Permalink
Remove func for only getting one interface
Browse files Browse the repository at this point in the history
new `get_poe_states` supports single interface queries
  • Loading branch information
stveit committed Sep 4, 2023
1 parent 10e77b4 commit 9a59f75
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions python/nav/portadmin/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,10 +300,6 @@ def set_poe_state(self, interface: manage.Interface, state: PoeState):
"""
raise NotImplementedError

def get_poe_state(self, interface: manage.Interface) -> PoeState:
"""Returns current PoE state of this interface"""
raise NotImplementedError

def get_poe_states(
self, interfaces: Sequence[manage.Interface] = None
) -> Dict[int, PoeState]:
Expand Down

0 comments on commit 9a59f75

Please sign in to comment.