Skip to content

Commit

Permalink
Prepare release.
Browse files Browse the repository at this point in the history
  • Loading branch information
Apollo3zehn committed Feb 27, 2024
1 parent 6e35f2d commit 2a6cc5c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## v2.0.0-beta.3 - 2024-02-27

- Fix prefix modification algorithm.

## v2.0.0-beta.2 - 2024-02-27

- Enable federation of a sub catalog path.
Expand Down
4 changes: 2 additions & 2 deletions src/Nexus.Sources.Federation/Federation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,12 @@ public async Task ReadAsync(DateTime begin, DateTime end, ReadRequest[] requests

private string ToMountPointPrefixedCatalogId(string catalogId)
{
return _mountPoint + catalogId.Substring(_sourcePath.Length);
return _mountPoint + catalogId.Substring(_sourcePath.Length + 1);
}

private string ToSourcePathPrefixedCatalogId(string catalogId)
{
return _sourcePath + catalogId.Substring(_mountPoint.Length);
return _sourcePath + catalogId.Substring(_mountPoint.Length + 1);
}
}
}
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": "2.0.0",
"suffix": "beta.2"
"suffix": "beta.3"
}

0 comments on commit 2a6cc5c

Please sign in to comment.