瀏覽代碼

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

pull/456/head
Marcel Partap 5 年之前
父節點
當前提交
e078e29ef8
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      roles/matrix-synapse/files/workers-doc-to-yaml.awk

+ 2
- 2
roles/matrix-synapse/files/workers-doc-to-yaml.awk 查看文件

@@ -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


Loading…
取消
儲存