Skip to content

Commit

Permalink
Fix style error
Browse files Browse the repository at this point in the history
  • Loading branch information
dedemorton committed Apr 29, 2020
1 parent 5ba99e4 commit 2cce871
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libbeat/scripts/generate_fields_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


def document_fields(output, section, sections, path):
if "skipdocs" in section:
if "skipdocs" in section:
return
if "anchor" in section:
output.write("[[exported-fields-{}]]\n".format(section["anchor"]))
Expand Down Expand Up @@ -138,7 +138,7 @@ def fields_to_asciidoc(input, output, beat):
if "anchor" not in section:
section["anchor"] = section["key"]

if "skipdocs" not in section:
if "skipdocs" not in section:
output.write("* <<exported-fields-{}>>\n".format(section["anchor"]))
output.write("\n--\n")

Expand Down

0 comments on commit 2cce871

Please sign in to comment.