diff mbox series

[nft,1/2] doc: libnftables-json: make the example valid JSON

Message ID 20211011115905.1456177-1-snemec@redhat.com
State Accepted
Delegated to: Pablo Neira
Headers show
Series [nft,1/2] doc: libnftables-json: make the example valid JSON | expand

Commit Message

Štěpán Němec Oct. 11, 2021, 11:59 a.m. UTC
Add missing comma between array elements.

Fixes: 2e56f533b36a ("doc: Improve example in libnftables-json(5)")
Signed-off-by: Štěpán Němec <snemec@redhat.com>
---
 doc/libnftables-json.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


base-commit: 6bcd0d576a60d8a681cc6dd78551633f09534260

Comments

Phil Sutter Oct. 11, 2021, 4:34 p.m. UTC | #1
Hi Štěpán,

On Mon, Oct 11, 2021 at 01:59:04PM +0200, Štěpán Němec wrote:
> Add missing comma between array elements.

Applied (after folding the two commits into one), thanks!

Cheers, Phil
diff mbox series

Patch

diff --git a/doc/libnftables-json.adoc b/doc/libnftables-json.adoc
index c152dc055b50..f67de33482a9 100644
--- a/doc/libnftables-json.adoc
+++ b/doc/libnftables-json.adoc
@@ -92,7 +92,7 @@  translates into JSON as such:
 			"family": "inet",
 			"table": "mytable",
 			"chain": "mychain"
-	}}}
+	}}},
 	{ "add": { "rule": {
 			"family": "inet",
 			"table": "mytable",