diff mbox series

docs: correct JSON syntax in example for wfx

Message ID 20230623082655.190456-1-michael.adler@siemens.com
State Accepted
Delegated to: Stefano Babic
Headers show
Series docs: correct JSON syntax in example for wfx | expand

Commit Message

Michael Adler June 23, 2023, 8:26 a.m. UTC
The JSON example in the wfx documentation had a trailing comma, which is
not valid for the last element of a JSON object. This commit fixes the
syntax error.

Signed-off-by: Michael Adler <michael.adler@siemens.com>
---
 doc/source/suricatta.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stefano Babic June 23, 2023, 9:46 a.m. UTC | #1
On 23.06.23 10:26, 'Michael Adler' via swupdate wrote:
> The JSON example in the wfx documentation had a trailing comma, which is
> not valid for the last element of a JSON object. This commit fixes the
> syntax error.
> 
> Signed-off-by: Michael Adler <michael.adler@siemens.com>
> ---
>   doc/source/suricatta.rst | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/doc/source/suricatta.rst b/doc/source/suricatta.rst
> index c8e1b41..0506598 100644
> --- a/doc/source/suricatta.rst
> +++ b/doc/source/suricatta.rst
> @@ -204,7 +204,7 @@ example (see ``job.definition.json_schema`` in ``suricatta/server_wfx.lua``):
>               {
>                   "name": "Example Device Firmware Artifact",
>                   "version": "1.1",
> -                "uri": "http://localhost:8080/download/example_artifact.swu",
> +                "uri": "http://localhost:8080/download/example_artifact.swu"
>               }
>           ]
>       }

Applied to -master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/doc/source/suricatta.rst b/doc/source/suricatta.rst
index c8e1b41..0506598 100644
--- a/doc/source/suricatta.rst
+++ b/doc/source/suricatta.rst
@@ -204,7 +204,7 @@  example (see ``job.definition.json_schema`` in ``suricatta/server_wfx.lua``):
             {
                 "name": "Example Device Firmware Artifact",
                 "version": "1.1",
-                "uri": "http://localhost:8080/download/example_artifact.swu",
+                "uri": "http://localhost:8080/download/example_artifact.swu"
             }
         ]
     }