Fix config name MODULES_ALLOW_SCRATCH in docs

Signed-off-by: Chenxiong Qi <cqi@redhat.com>
This commit is contained in:
Chenxiong Qi
2019-03-06 14:38:37 +08:00
parent eb89205813
commit ea56685667
2 changed files with 2 additions and 2 deletions

View File

@@ -106,7 +106,7 @@ Options:
- ``require_overrides`` - the requires to override the modulemd with. The overrides must be to
existing requires on the modulemd. The expected format is ``{'platform': ['f28', 'f29']}``.
- ``scratch`` - a boolean indicating if a scratch module build should be performed.
Only allowed to be ``True`` if the MBS setting ``MODULE_ALLOW_SCRATCH`` is ``True``.
Only allowed to be ``True`` if the MBS setting ``MODULES_ALLOW_SCRATCH`` is ``True``.
- ``yaml`` - a string of the input file when submitting a YAML file directly in a
``multipart/form-data`` request. The MBS setting ``YAML_SUBMIT_ALLOWED`` must be set to ``True``
for this to be allowed.

View File

@@ -26,7 +26,7 @@ POST request directly including the contents of a YAML modulemd file
``utils.submit.submit_module_build_from_yaml(...)`` method which also goes down
to ``submit_module_build(...)``.
If module scratch builds are allowed (MBS setting ``MODULE_ALLOW_SCRATCH`` is
If module scratch builds are allowed (MBS setting ``MODULES_ALLOW_SCRATCH`` is
``True``), the user can also upload one or more source RPMs uploaded to Koji
via calls to Koji's ``session.uploadWrapper(..)``, and supply the list of
upload links to MBS (called ``srpms``). Such custom SRPMs will be used to