Skip to content
Permalink
Browse files
Fix any issues tests didn't pick up on
  • Loading branch information
brogand93 committed Jun 20, 2014
1 parent f6f5e4e commit 1fc107a54f8cf1402815b5283001bfcc1ac07ff5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
@@ -28,7 +28,7 @@


def get_network_by_name(authorization, network):
args = {'command': 'SecurityGroups'}
args = {'command': 'listSecurityGroups'}
return controllers.get_item_with_name(authorization, network, args, 'securitygroup')


@@ -48,7 +48,7 @@ def _add_network(authorization, args=None):


def _delete_network(authorization, projectid, network):
args = {'command': 'SecurityGroups'}
args = {'command': 'listSecurityGroups'}
network_response = controllers.get_item_with_name(authorization, network, args, 'securitygroup')
if not network_response:
return None
@@ -41,7 +41,7 @@ def listregions(projectid, authorization):
args = {'command': 'listAccounts'}
kwargs = {}
items = controllers.describe_items(
authorization, args, 'region',
authorization, args, 'account',
_cloudstack_account_to_gce, **kwargs)

populated_response = {
@@ -59,5 +59,5 @@ def getregion(projectid, authorization, region):
func_route = url_for('getregion', projectid=projectid, region=region)
args = {'command': 'listAccounts'}
return controllers.get_item_with_name_or_error(
authorization, region, args, 'region', func_route,
authorization, region, args, 'account', func_route,
_cloudstack_account_to_gce, **{})

0 comments on commit 1fc107a

Please sign in to comment.