Skip to content

Commit 27745f3

Browse files
github-actions[bot]celeste0-0secpquentin
authored
Fix missing assignment (#3151) (#3191)
(cherry picked from commit fa8fe72) Co-authored-by: celeste0-0sec <[email protected]> Co-authored-by: Quentin Pradet <[email protected]>
1 parent fa1ed71 commit 27745f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elasticsearch/esql/esql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def _format_id(id: FieldType, allow_patterns: bool = False) -> str:
124124
if re.fullmatch(r"[a-zA-Z_@][a-zA-Z0-9_\.]*", s):
125125
return s
126126
# this identifier needs to be escaped
127-
s.replace("`", "``")
127+
s = s.replace("`", "``")
128128
return f"`{s}`"
129129

130130
@staticmethod

0 commit comments

Comments
 (0)