diff --git a/cmd/livepeer_cli/wizard.go b/cmd/livepeer_cli/wizard.go index 01801e4fd6..27ba130174 100644 --- a/cmd/livepeer_cli/wizard.go +++ b/cmd/livepeer_cli/wizard.go @@ -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) { diff --git a/core/orchestrator.go b/core/orchestrator.go index f5eeb121c4..d7314a4581 100644 --- a/core/orchestrator.go +++ b/core/orchestrator.go @@ -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]