Skip to content

Commit

Permalink
fix: source layout check
Browse files Browse the repository at this point in the history
  • Loading branch information
keejon committed Sep 30, 2024
1 parent c01b025 commit da7336f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/karapace/backup/backends/v3/schema_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def check_compatibility(git_target: str) -> None:

for file in schema_directory.glob(f"*{extension}"):
relative = relative_path(file)
if source_layout:
if not source_layout:
relative = pathlib.Path(*relative.parts[1:])
with subprocess.Popen(
["git", "show", f"{git_target}:{relative}"],
Expand Down

0 comments on commit da7336f

Please sign in to comment.