From ba8cdd8f57afa25090be82f9978f41e3e9b23a0a Mon Sep 17 00:00:00 2001 From: Edwin Kempin Date: Wed, 3 Apr 2013 15:35:06 +0200 Subject: [PATCH] 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 --- Documentation/config-labels.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/config-labels.txt b/Documentation/config-labels.txt index 9aea995e6e..4f84bf69b6 100644 --- a/Documentation/config-labels.txt +++ b/Documentation/config-labels.txt @@ -95,7 +95,7 @@ text to `project.config`: ==== [label "Verified"] - functionName = MaxWithBlock + function = MaxWithBlock value = -1 Fails value = 0 No score 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`. -[[label_functionName]] -`label.Label-Name.functionName` -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[[label_function]] +`label.Label-Name.function` +~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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. @@ -240,7 +240,7 @@ but has different names/labels: ==== [label "Copyright-Check"] - functionName = MaxWithBlock + function = MaxWithBlock value = -1 Do not have copyright value = 0 No score value = +1 Copyright clear