Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Erik Schamper <[email protected]>
  • Loading branch information
Miauwkeru and Schamper committed Jan 20, 2025
1 parent b6a1771 commit 3ba3f82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions acquire/acquire.py
Original file line number Diff line number Diff line change
Expand Up @@ -772,12 +772,12 @@ def get_spec_additions(cls, target: Target, cli_args: argparse.Namespace) -> Ite

@register_module("--mssql")
class MSSQL(Module):
DESC = "MSSql error logs"
DESC = "MSSQL error logs"

SPEC = [("glob", "/var/opt/mssql/log/errorlog*")]

@classmethod
def get_spec_additions(cls, target: Target, cli_args: argparse.Namespace) -> Iterator[tuple]:
def get_spec_additions(cls, target: Target, cli_args: argparse.Namespace) -> Iterator[tuple[str, str]]:
log_paths = set()

Check warning on line 781 in acquire/acquire.py

View check run for this annotation

Codecov / codecov/patch

acquire/acquire.py#L781

Added line #L781 was not covered by tests

if not target.has_function("registry"):
Expand Down

0 comments on commit 3ba3f82

Please sign in to comment.