From 6e401f882f29494bf1b271611391eb3885a049cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Wed, 31 Aug 2022 15:34:42 +0200 Subject: [PATCH] Worker: fix typo 'FFmepg' -> 'FFmpeg' Just a logging message fix, no functional changes. --- cmd/flamenco-worker/find_exes.go | 2 +- internal/worker/command_ffmpeg.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/flamenco-worker/find_exes.go b/cmd/flamenco-worker/find_exes.go index e3c91b97..8180a927 100644 --- a/cmd/flamenco-worker/find_exes.go +++ b/cmd/flamenco-worker/find_exes.go @@ -19,7 +19,7 @@ func findFFmpeg() { case errors.Is(err, fs.ErrNotExist): log.Warn().Msg("FFmpeg could not be found on this system, render jobs may not run correctly") case err != nil: - log.Warn().Err(err).Msg("there was an unexpected error finding FFmepg on this system, render jobs may not run correctly") + log.Warn().Err(err).Msg("there was an unexpected error finding FFmpeg on this system, render jobs may not run correctly") default: log.Info().Str("path", result.Path).Str("version", result.Version).Msg("FFmpeg found on this system") } diff --git a/internal/worker/command_ffmpeg.go b/internal/worker/command_ffmpeg.go index aa3b978a..6eea55ee 100644 --- a/internal/worker/command_ffmpeg.go +++ b/internal/worker/command_ffmpeg.go @@ -168,7 +168,7 @@ func cmdFramesToVideoParams(logger zerolog.Logger, cmd api.Command) (CreateVideo log.Warn().Msg("FFmpeg could not be found on this system, render jobs may not run correctly") return parameters, NewParameterInvalidError("exe", cmd, err.Error()) case err != nil: - log.Warn().Err(err).Msg("there was an unexpected error finding FFmepg on this system, render jobs may not run correctly") + log.Warn().Err(err).Msg("there was an unexpected error finding FFmpeg on this system, render jobs may not run correctly") return parameters, NewParameterInvalidError("exe", cmd, err.Error()) }