Skip to content

Commit f74e371

Browse files
author
Thomas
committed
update docs create methods
1 parent e91ec9b commit f74e371

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

netbox/virtualization.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def delete_cluster(self, name):
3030
"""Delete a cluster
3131
3232
:param name: name of the cluster to delete
33-
:return: bool True if succesful otherwase delete exception
33+
:return: netbox object if succesful otherwase delete exception
3434
"""
3535
try:
3636
cluster_id = self.get_clusters(name=name)[0]['id']
@@ -155,7 +155,7 @@ def create_virtual_machine(self, name, cluster_name, **kwargs):
155155
156156
:param name: name of the virtual machine
157157
:param cluster_name: Name of existing cluster
158-
:return: bool True if successful otherwise raise CreateException
158+
:return: netbox object if successful otherwise raise CreateException
159159
"""
160160
try:
161161
cluster_id = self.get_clusters(name=cluster_name)[0]['id']

0 commit comments

Comments
 (0)