mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-08-03 22:22:18 +00:00
Reflow create_indexes comments flagged by Copilot
The line wrap placed "#169" directly after the comment marker, so the raw source read "# #169;". Reword so the issue reference stays on one line. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
0ffc804ea0
commit
8219f44659
@@ -471,8 +471,8 @@ def create_indexes(names: list[str], settings: dict[str, Any] | None = None):
|
||||
# Deliberately no Index.document() registration: Kibana/OpenSearch
|
||||
# Dashboards/Grafana cannot terms-aggregate fields inside a
|
||||
# `nested` mapping, so the dynamic `object` mapping produced by a
|
||||
# bare create is load-bearing for the shipped dashboards (issue
|
||||
# #169; see the *_combined fields on _AggregateReportDoc).
|
||||
# bare create is load-bearing for the shipped dashboards. See
|
||||
# issue #169 and the *_combined fields on _AggregateReportDoc.
|
||||
if not index.exists():
|
||||
logger.debug("Creating Elasticsearch index: {0}".format(name))
|
||||
if effective_settings:
|
||||
|
||||
@@ -388,8 +388,8 @@ def create_indexes(names: list[str], settings: dict[str, Any] | None = None):
|
||||
# Deliberately no Index.document() registration: Kibana/OpenSearch
|
||||
# Dashboards/Grafana cannot terms-aggregate fields inside a
|
||||
# `nested` mapping, so the dynamic `object` mapping produced by a
|
||||
# bare create is load-bearing for the shipped dashboards (issue
|
||||
# #169; see the *_combined fields on _AggregateReportDoc).
|
||||
# bare create is load-bearing for the shipped dashboards. See
|
||||
# issue #169 and the *_combined fields on _AggregateReportDoc.
|
||||
if not index.exists():
|
||||
logger.debug("Creating OpenSearch index: {0}".format(name))
|
||||
if settings is None:
|
||||
|
||||
Reference in New Issue
Block a user