Index: trunk/extensions/OpenStackManager/special/SpecialNovaAddress.php |
— | — | @@ -566,7 +566,7 @@ |
567 | 567 | if ( $success ) { |
568 | 568 | $this->getOutput()->addWikiMsg( 'openstackmanager-addedhost', $hostname, $ip ); |
569 | 569 | } else { |
570 | | - $this->getOutput()->addWikiMsg( 'openstackmanager-addhostfailed', $ip, $hostname ); |
| 570 | + $this->getOutput()->addWikiMsg( 'openstackmanager-addhostfailed', $hostname, $ip ); |
571 | 571 | } |
572 | 572 | } elseif ( $hostbyip ) { |
573 | 573 | # We need to add an associateddomain, if the associateddomain doesn't already exist |
— | — | @@ -574,7 +574,7 @@ |
575 | 575 | if ( $success ) { |
576 | 576 | $this->getOutput()->addWikiMsg( 'openstackmanager-addedhost', $hostname, $ip ); |
577 | 577 | } else { |
578 | | - $this->getOutput()->addWikiMsg( 'openstackmanager-addhostfailed', $ip, $hostname ); |
| 578 | + $this->getOutput()->addWikiMsg( 'openstackmanager-addhostfailed', $hostname, $ip ); |
579 | 579 | } |
580 | 580 | } else { |
581 | 581 | # This is a new host entry |
— | — | @@ -582,7 +582,7 @@ |
583 | 583 | if ( $host ) { |
584 | 584 | $this->getOutput()->addWikiMsg( 'openstackmanager-addedhost', $hostname, $ip ); |
585 | 585 | } else { |
586 | | - $this->getOutput()->addWikiMsg( 'openstackmanager-addhostfailed', $ip, $hostname ); |
| 586 | + $this->getOutput()->addWikiMsg( 'openstackmanager-addhostfailed', $hostname, $ip ); |
587 | 587 | } |
588 | 588 | } |
589 | 589 | $this->getOutput(); |