Fix server id reference in _rebuild_server_and_check()

Reference to server id is broken now because
ServerActionsTestJSON(self) object has no attribute 'server'.

server attribute is passed as a method's argument.

Change-Id: I7ef97019a9db973749fa81875cfb9e5e837e6bea
This commit is contained in:
Damian Dabrowski 2022-10-27 16:13:53 +02:00
parent beda3306a2
commit 5928eeb68c
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ class ServerActionsTestJSON(base.BaseV2ComputeTest):
server, self.os_primary, tenant_network,
True, self.validation_resources, "SSHABLE", True)
else:
waiters.wait_for_server_status(self.client, self.server['id'],
waiters.wait_for_server_status(self.client, server['id'],
'ACTIVE')
msg = ('Server was not rebuilt to the original image. '