Fix copy/paste errors in API docstrings
Fix some inappropriate docstring, like: 1. "Gets detailed information for a stack" as the docstring for show() in events.py 2. "Lists summary information for all resources" as the docstring for index() in events.py 3. "Gets detailed information for a stack" as the docstring for show() in resources.py 4. "Gets detailed information for a stack " as the docstring for metadata() in resources.py Change-Id: I38fc6a18224d1537bf6981ba60bffc31768b7443 Closes-Bug: #1261615
This commit is contained in:
@@ -90,7 +90,7 @@ class EventController(object):
|
||||
@util.identified_stack
|
||||
def index(self, req, identity, resource_name=None):
|
||||
"""
|
||||
Lists summary information for all resources
|
||||
Lists summary information for all events
|
||||
"""
|
||||
|
||||
if resource_name is None:
|
||||
@@ -108,7 +108,7 @@ class EventController(object):
|
||||
@util.identified_stack
|
||||
def show(self, req, identity, resource_name, event_id):
|
||||
"""
|
||||
Gets detailed information for a stack
|
||||
Gets detailed information for an event
|
||||
"""
|
||||
|
||||
def event_match(ev):
|
||||
|
||||
@@ -79,7 +79,7 @@ class ResourceController(object):
|
||||
@util.identified_stack
|
||||
def show(self, req, identity, resource_name):
|
||||
"""
|
||||
Gets detailed information for a stack
|
||||
Gets detailed information for a resource
|
||||
"""
|
||||
|
||||
res = self.engine.describe_stack_resource(req.context,
|
||||
@@ -91,7 +91,7 @@ class ResourceController(object):
|
||||
@util.identified_stack
|
||||
def metadata(self, req, identity, resource_name):
|
||||
"""
|
||||
Gets detailed information for a stack
|
||||
Gets metadata information for a resource
|
||||
"""
|
||||
|
||||
res = self.engine.describe_stack_resource(req.context,
|
||||
|
||||
Reference in New Issue
Block a user