synapse workers: fix self name in workers-doc-to-yaml.awk script

This commit is contained in:
Marcel Partap 2020-10-28 08:39:31 +01:00
parent 2d1b9f2dbf
commit e078e29ef8

View File

@ -1,11 +1,11 @@
#!/usr/bin/awk
# Hackish approach to get a machine-readable list of current matrix
# Hackish approach to get a machine-readable list of current matrix
# synapse REST API endpoints from the official documentation at
# https://github.com/matrix-org/synapse/raw/master/docs/workers.md
#
# invoke in shell with:
# URL=https://github.com/matrix-org/synapse/raw/master/docs/workers.md
# curl -L ${URL} | awk -f parse-workers-docs.awk -
# curl -L ${URL} | awk -f workers-doc-to-yaml.awk -
function worker_stanza_append(string) {
worker_stanza = worker_stanza string