r107040 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r107039‎ | r107040 | r107041 >
Date:03:54, 22 December 2011
Author:laner
Status:ok
Tags:
Comment:
Use the correct dataset when allocating IP addresses. Resolves bug 33311.
Modified paths:
  • /trunk/extensions/OpenStackManager/OpenStackNovaController.php (modified) (history)

Diff [purge]

Index: trunk/extensions/OpenStackManager/OpenStackNovaController.php
@@ -495,7 +495,7 @@
496496 if ( ! $response->isOK() ) {
497497 return null;
498498 } else {
499 - $address = new OpenStackNovaAddress( $response->body->addressSet->item );
 499+ $address = new OpenStackNovaAddress( $response->body );
500500 $ip = $address->getPublicIP();
501501 $this->addresses["$ip"] = $address;
502502 return $address;

Status & tagging log