Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
Adding transaction status collector instances to missing places at co…
Browse files Browse the repository at this point in the history
…ntext builder
  • Loading branch information
ochaloup committed Feb 14, 2022
1 parent 961bf93 commit 31c9cc6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mango/contextbuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ def from_command_line_parameters(args: argparse.Namespace) -> Context:
gma_chunk_size,
gma_chunk_pause,
reflink,
NullTransactionStatusCollector()
)
logging.debug(f"{context}")

Expand Down Expand Up @@ -286,6 +287,7 @@ def from_group_name(context: Context, group_name: str) -> Context:
context.gma_chunk_size,
context.gma_chunk_pause,
context.reflink,
context.client.transaction_status_collector,
)

@staticmethod
Expand Down

0 comments on commit 31c9cc6

Please sign in to comment.