Skip to content

Commit

Permalink
Migrate Functionbeat to Python3 (elastic#14901)
Browse files Browse the repository at this point in the history
fix 'str' does not support the buffer interface
  • Loading branch information
kvch authored Dec 9, 2019
1 parent 0763ab3 commit 3a2ce22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/functionbeat/tests/system/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def _generate_dummy_binary_for_template_checksum(self):
for fb in bins_to_gen:
if os.path.exists(fb):
continue
with open(fb, "wb") as f:
with open(fb, "w") as f:
f.write("my dummy functionbeat binary\n")

def _get_generated_function_template(self):
Expand Down

0 comments on commit 3a2ce22

Please sign in to comment.