Skip to content

Commit

Permalink
Fix cli bug using config schema path.
Browse files Browse the repository at this point in the history
  • Loading branch information
Menziess committed Jul 11, 2023
1 parent e866073 commit 8f4534f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snapstream/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def inspect_topic(entry: dict, args: Namespace):

start_time = dt.now(tz=timezone.utc)
schema_path = args.schema or entry.get('schema_path')
schema = AvroCodec(args.schema) if schema_path else None
schema = AvroCodec(schema_path) if schema_path else None
key_filter = curry(regex_filter)(args.key_filter)
val_filter = curry(regex_filter)(args.val_filter)

Expand Down

0 comments on commit 8f4534f

Please sign in to comment.