Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
cruse1977 committed Aug 29, 2024
1 parent c58daba commit 5eb3927
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ systemctl restart netbox

| netbox version | plugin version |
| -------------- | ----------------------------- |
| >= 4.0.0 | >= v1.1.0 |
| >= 4.0.0 < 4.1.0 | >= v1.1.2 |
| <= 4.0.0 | = v1.0.0 |

## Dependencies
Expand Down
2 changes: 1 addition & 1 deletion netbox_reorder_rack/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class NetboxReorderRackConfig(PluginConfig):
name = "netbox_reorder_rack"
verbose_name = "NetBox Reorder Rack"
description = "NetBox plugin to reorder rack layouts."
version = "1.1.1"
version = "1.1.2"
base_url = "reorder"


Expand Down
5 changes: 0 additions & 5 deletions netbox_reorder_rack/api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ def update(self, request, pk):
try:
serializer = ReorderRackSerializer(request.data)
with transaction.atomic():
#for device in rack.devices.all():
# device.position = None
# device.clean()
# device.save()

for new in request.data["front"]:
device = rack.devices.filter(pk=new["id"]).first()
current_device = get_object_or_404(Device, pk=new["id"])
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name="netbox_reorder_rack",
version="1.1.1",
version="1.1.2",
author="Alex Gittings",
author_email="[email protected]",
description="NetBox plugin to reorder rack layouts.",
Expand Down

0 comments on commit 5eb3927

Please sign in to comment.