Skip to content

Commit

Permalink
Remove duplicated and unused get_netbox_cluster() definition
Browse files Browse the repository at this point in the history
  • Loading branch information
TiagoTT committed Dec 22, 2024
1 parent e5b6ec8 commit 87db302
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions netbox_agent/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@ def get_netbox_tenant(self):
)
return nb_tenant

def get_netbox_cluster(self, name):
cluster = nb.virtualization.clusters.get(
name=name,
)
return cluster

def get_datacenter(self):
dc = Datacenter()
return dc.get()
Expand Down

0 comments on commit 87db302

Please sign in to comment.