Commit f3879289 authored by Dmitry Volodin's avatar Dmitry Volodin
Browse files

Merge branch 'noc-1286' into 'master'

noc/noc#1286 Fix object set rack number.

See merge request noc/noc!3471
parents 8f591ce0 4d3af555
......@@ -76,7 +76,7 @@ class RackPlugin(InvPlugin):
def api_set_rack_load(self, request, id, cid, position_front, position_rear, shift):
o =, id=id)
co =, id=cid)
if co.container !=
if !=
if position_front:
co.set_data("rackmount", "position", position_front)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment