Defect fix for use of request.context
This fixes a defect that was introduced by prior change to pass context instead of a field from within the context when creating a ConfigdocsHelper Change-Id: I2d79b8490a5c568cda2412bde8f4803d969887b8
This commit is contained in:
parent
9627f59f4e
commit
01069aab17
|
@ -149,7 +149,7 @@ class CommitConfigDocsResource(BaseResource):
|
|||
"""
|
||||
# force query parameter is False unless explicitly true
|
||||
force = req.get_param_as_bool(name='force') or False
|
||||
helper = ConfigdocsHelper(req.context.external_marker)
|
||||
helper = ConfigdocsHelper(req.context)
|
||||
validations = self.commit_configdocs(helper, force)
|
||||
resp.body = self.to_json(validations)
|
||||
resp.status = validations.get('code', falcon.HTTP_200)
|
||||
|
|
Loading…
Reference in New Issue