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:
Bryan Strassner 2017-11-28 09:55:08 -06:00
parent 9627f59f4e
commit 01069aab17
1 changed files with 1 additions and 1 deletions

View File

@ -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)