r77447 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77446‎ | r77447 | r77448 >
Date:23:17, 29 November 2010
Author:reedy
Status:deferred
Tags:
Comment:
Spaces to tabs. Another Array to array
Modified paths:
  • /trunk/extensions/OpenStackManager/OpenStackNovaController.php (modified) (history)

Diff [purge]

Index: trunk/extensions/OpenStackManager/OpenStackNovaController.php
@@ -6,12 +6,12 @@
77 var $novaConnection;
88 var $instances, $images, $keypairs, $availabilityZones;
99
10 - var $instanceTypes = Array( 't1.micro', 'm1.small', 'm1.large', 'm1.xlarge', 'm2.xlarge', 'm2.2xlarge', 'm2.4xlarge', 'c1.medium', 'c1.xlarge', 'cc1.4xlarge' );
 10+ var $instanceTypes = array( 't1.micro', 'm1.small', 'm1.large', 'm1.xlarge', 'm2.xlarge', 'm2.2xlarge', 'm2.4xlarge', 'c1.medium', 'c1.xlarge', 'cc1.4xlarge' );
1111
1212 # TODO: Make disable_ssl, hostname, and resource_prefix config options
1313 function __construct( $credentials ) {
1414 global $wgOpenStackManagerNovaDisableSSL, $wgOpenStackManagerNovaServerName,
15 - $wgOpenStackManagerNovaPort, $wgOpenStackManagerNovaResourcePrefix;
 15+ $wgOpenStackManagerNovaPort, $wgOpenStackManagerNovaResourcePrefix;
1616 wfLoadExtensionMessages('OpenStackManager');
1717 $this->novaConnection = new AmazonEC2( $credentials['accessKey'], $credentials['secretKey'] );
1818 $this->novaConnection->disable_ssl($wgOpenStackManagerNovaDisableSSL);

Status & tagging log