This reverts commit e9ec69bc3b
.
This commit is contained in:
parent
e9ec69bc3b
commit
06328e745c
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ class ServerBase():
|
|||
update = True
|
||||
server.site = nb_dc.id
|
||||
|
||||
if rack and server.rack.id != nb_rack.id:
|
||||
if rack and server.rack != nb_rack:
|
||||
logging.info('Rack location has changed from {} to {}, updating'.format(
|
||||
server.rack,
|
||||
nb_rack,
|
||||
|
|
Loading…
Reference in a new issue