Skip to content

Minor fix and nit in rpc.go#220

Merged
jbkempf merged 2 commits into
videolabs:masterfrom
elboulangero:github-rpc-nitpicks
May 20, 2026
Merged

Minor fix and nit in rpc.go#220
jbkempf merged 2 commits into
videolabs:masterfrom
elboulangero:github-rpc-nitpicks

Conversation

@elboulangero

Copy link
Copy Markdown
Contributor

No description provided.

The variable 'err' here is an old error that was already handled and
returned (see a few lines above).

One can also check the code of the List() function that have a similar
piece of code, and indeed returns a new error in this case.
This is purely cosmetic: there's no need for a 'else' here, and so we
can take this chance to reduce the indent level.
@jbkempf jbkempf merged commit ad37526 into videolabs:master May 20, 2026
3 checks passed
@elboulangero elboulangero deleted the github-rpc-nitpicks branch May 21, 2026 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants