Correct key name for the label function in the label documentation

The code in ProjectConfig expects that the key for the label function
is called 'function' but in the documentation it was described as
'functionName'.

Change-Id: I9529d6233df5d6c6859d4cda71fdd503b19b940a
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
Edwin Kempin
2013-04-03 15:35:06 +02:00
parent ce460e0f87
commit ba8cdd8f57

View File

@@ -95,7 +95,7 @@ text to `project.config`:
==== ====
[label "Verified"] [label "Verified"]
functionName = MaxWithBlock function = MaxWithBlock
value = -1 Fails value = -1 Fails
value = 0 No score value = 0 No score
value = +1 Verified value = +1 Verified
@@ -184,9 +184,9 @@ example on project dashboards. Defaults to all the uppercase characters
in the label name, e.g. `Label-Name` is abbreviated by default as `LN`. in the label name, e.g. `Label-Name` is abbreviated by default as `LN`.
[[label_functionName]] [[label_function]]
`label.Label-Name.functionName` `label.Label-Name.function`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
The name of a function for evaluating multiple votes for a label. This The name of a function for evaluating multiple votes for a label. This
function is only applied if the default submit rule is used for a label. function is only applied if the default submit rule is used for a label.
@@ -240,7 +240,7 @@ but has different names/labels:
==== ====
[label "Copyright-Check"] [label "Copyright-Check"]
functionName = MaxWithBlock function = MaxWithBlock
value = -1 Do not have copyright value = -1 Do not have copyright
value = 0 No score value = 0 No score
value = +1 Copyright clear value = +1 Copyright clear