Skip to content

Commit

Permalink
Update plugins/connection/aws_ssm.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tremble authored Feb 7, 2025
1 parent 3066598 commit 51c7cd2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/connection/aws_ssm.py
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,8 @@ def exec_communicate(self, cmd: str, mark_start: str, mark_begin: str, mark_end:
# see https://github.com/pylint-dev/pylint/issues/8909)
return (returncode, stdout, self._flush_stderr(self._session)) # pylint: disable=unreachable

def generate_mark(self) -> str:
@staticmethod
def generate_mark() -> str:
"""Generates a random string of characters to delimit SSM CLI commands"""
mark = "".join([random.choice(string.ascii_letters) for i in range(Connection.MARK_LENGTH)])
return mark
Expand Down

0 comments on commit 51c7cd2

Please sign in to comment.