Skip to content

Commit

Permalink
chore: fix function names (#3040)
Browse files Browse the repository at this point in the history
Signed-off-by: kevincatty <zhanshanmao@outlook.com>
Co-authored-by: Rafał Leszko <rafal@livepeer.org>
  • Loading branch information
kevincatty and leszko committed May 9, 2024
1 parent b1b2c03 commit 6e49ae2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/livepeer_cli/wizard.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func (w *wizard) readStringAndValidate(validate func(in string) (string, error))
}
}

// readStringYesOrNot reads a single line from stdin, trims spaces and
// readStringYesOrNo reads a single line from stdin, trims spaces and
// checks that the string is either y or n
func (w *wizard) readStringYesOrNo() string {
return w.readStringAndValidate(func(in string) (string, error) {
Expand Down
2 changes: 1 addition & 1 deletion core/orchestrator.go
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,7 @@ func (node *RemoteTranscoderManager) EndTranscodingSession(sessionId string) {
panic("shouldn't be called on RemoteTranscoderManager")
}

// completeStreamSessions end a stream session for a remote transcoder and decrements its load
// completeStreamSession end a stream session for a remote transcoder and decrements its load
// caller should hold the mutex lock
func (rtm *RemoteTranscoderManager) completeStreamSession(sessionId string) {
t, ok := rtm.streamSessions[sessionId]
Expand Down

0 comments on commit 6e49ae2

Please sign in to comment.