Skip to content

Commit

Permalink
Merge pull request twmb#687 from poulikov/sr_subject_versions
Browse files Browse the repository at this point in the history
sr SubjectVersions calls pathSubjectWithVersion
  • Loading branch information
twmb authored Mar 7, 2024
2 parents 33923b6 + 892db71 commit 351e7fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sr/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ func pathMode(subject string) string {
func (cl *Client) SubjectVersions(ctx context.Context, subject string) ([]int, error) {
// GET /subjects/{subject}/versions
var versions []int
err := cl.get(ctx, pathSubject(subject), &versions)
err := cl.get(ctx, pathSubjectWithVersion(subject), &versions)
return versions, err
}

Expand Down

0 comments on commit 351e7fa

Please sign in to comment.