Skip to content

Commit

Permalink
Merge pull request #778 from mikaylathompson/console-lib-replay-bugfix
Browse files Browse the repository at this point in the history
[Console] Remove all duplicate replayer references
  • Loading branch information
peternied authored Jun 26, 2024
2 parents 0a8c100 + dff7c98 commit a664d7a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,20 +119,6 @@ def clear_indices_cmd(ctx, acknowledge_risk, cluster):
else:
click.echo("Aborting command.")

# ##################### REPLAYER ###################


@cli.group(name="replayer")
@click.pass_obj
def replayer_group(ctx):
if ctx.env.replayer is None:
raise click.UsageError("Replayer is not set")


@replayer_group.command(name="start")
@click.pass_obj
def start_replayer_cmd(ctx):
ctx.env.replayer.start()

# ##################### SNAPSHOT ###################

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ def get_replayer(config: Dict):
SCHEMA = {
"source_cluster": {"type": "dict", "required": False},
"target_cluster": {"type": "dict", "required": True},
"replayer": {"type": "dict", "required": False},
"backfill": {"type": "dict", "required": False},
"metrics_source": {"type": "dict", "required": False},
"snapshot": {"type": "dict", "required": False},
Expand Down

0 comments on commit a664d7a

Please sign in to comment.