Skip to content

Commit 228ee06

Browse files
author
Thomas
committed
updated README
1 parent e044061 commit 228ee06

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Get all devices:
3535

3636
Get devices per rack:
3737

38-
>>> netbox.dcim.get_devices_per_rack('rack_name')
38+
>>> netbox.dcim.get_devices(rack_id=1)
3939

4040
Get device by name
4141

docs/examples.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Get all devices:
2929

3030
Get devices per rack:
3131

32-
>>> netbox.dcim.get_devices(rack_id='1')
32+
>>> netbox.dcim.get_devices(rack_id=1)
3333

3434
Get device by name
3535

0 commit comments

Comments
 (0)