From 5a25952167f1d34337feb37089d862a702a7ca84 Mon Sep 17 00:00:00 2001 From: Sam Miller Date: Wed, 31 Aug 2022 15:41:33 +0200 Subject: [PATCH] Website: Fix documentation of Flamenco Worker YAML task types list The example on the project website is incorrect: ``` task_types: blender, ffmpeg, file-management, misc ``` It results in an error: ``` loading configuration: yaml: unmarshal errors:\n line 2: cannot unmarshal ||str "blender..." into []string ``` The fix seems to be adding square brackets around the list of comma delineated tasks: ``` task_types: [blender, ffmpeg, file-management, misc] ``` This results in output with the confirmation that `taskType=["blender","ffmpeg","file-management","misc"]` --- .../content/usage/worker-configuration/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/project-website/content/usage/worker-configuration/_index.md b/web/project-website/content/usage/worker-configuration/_index.md index 09e8c482..2c0238e7 100644 --- a/web/project-website/content/usage/worker-configuration/_index.md +++ b/web/project-website/content/usage/worker-configuration/_index.md @@ -10,7 +10,7 @@ This is an example of such a configuration file: ```yaml manager_url: http://flamenco.local:8080/ -task_types: blender, ffmpeg, file-management, misc +task_types: [blender, ffmpeg, file-management, misc] ``` The task types are determined by the [job compiler scripts][scripts]. The ones