Really disable RETURN

reviewable/pr18780/r1
Toshio Kuratomi 9 years ago
parent 816bfd6990
commit 7e56a66ef6

@ -98,7 +98,7 @@ EXAMPLES = '''
# Disabled the RETURN as it was breaking docs building. Someone needs to fix # Disabled the RETURN as it was breaking docs building. Someone needs to fix
# this # this
RETURN = ''' ''' RETURN = '''# '''
''' '''
# Create service # Create service
service: On create service, it returns the new values; on delete service, it returns the values for the service being deleted. service: On create service, it returns the new values; on delete service, it returns the values for the service being deleted.
@ -146,7 +146,7 @@ class EcsServiceManager:
self.module.fail_json(msg="Can't authorize connection - "+str(e)) self.module.fail_json(msg="Can't authorize connection - "+str(e))
# def list_clusters(self): # def list_clusters(self):
# return self.client.list_clusters() # return self.client.list_clusters()
# {'failures=[], # {'failures=[],
# 'ResponseMetadata={'HTTPStatusCode=200, 'RequestId='ce7b5880-1c41-11e5-8a31-47a93a8a98eb'}, # 'ResponseMetadata={'HTTPStatusCode=200, 'RequestId='ce7b5880-1c41-11e5-8a31-47a93a8a98eb'},
# 'clusters=[{'activeServicesCount=0, 'clusterArn='arn:aws:ecs:us-west-2:777110527155:cluster/default', 'status='ACTIVE', 'pendingTasksCount=0, 'runningTasksCount=0, 'registeredContainerInstancesCount=0, 'clusterName='default'}]} # 'clusters=[{'activeServicesCount=0, 'clusterArn='arn:aws:ecs:us-west-2:777110527155:cluster/default', 'status='ACTIVE', 'pendingTasksCount=0, 'runningTasksCount=0, 'registeredContainerInstancesCount=0, 'clusterName='default'}]}

@ -58,7 +58,7 @@ EXAMPLES = '''
# Disabled the RETURN as it was breaking docs building. Someone needs to fix # Disabled the RETURN as it was breaking docs building. Someone needs to fix
# this # this
RETURN = ''' ''' RETURN = '''# '''
''' '''
services: When details is false, returns an array of service ARNs, else an array of these fields services: When details is false, returns an array of service ARNs, else an array of these fields
clusterArn: The Amazon Resource Name (ARN) of the of the cluster that hosts the service. clusterArn: The Amazon Resource Name (ARN) of the of the cluster that hosts the service.

Loading…
Cancel
Save