Github Mirror / telegraf-plugins: c85be71b




omit author tag if author name unavailable

omit author tag if author name unavailable

Commit c85be71b.

Authored 2023-09-24T23:45:34.000+01:00 by B Tasker in project Github Mirror / telegraf-plugins

+3 lines -1 lines

Commit Signature

Changes

diff --git a/webmention_io/webmention_io.py b/webmention_io/webmention_io.py
--- a/webmention_io/webmention_io.py
+++ b/webmention_io/webmention_io.py
# @@ -69,11 +69,13 @@ def build_lp(entry):
# MEASUREMENT,
# f'type={wm_type}',
# f'url={url}',
# - f'author={author}',
# f'domain={domain}',
# f'srcdomain={source_domain}',
# 'influxdb_database=webmentions'
# ]
# +
# + if len(author) > 0:
# + tagset.append(f'author={author}')
#
# fieldset = [
# f'id={wm_id}',
#