From 4b8253bf228947e28dc79c0ff4373a6988fd3d81 Mon Sep 17 00:00:00 2001 From: wiggin77 Date: Tue, 3 Oct 2023 17:04:43 -0400 Subject: [PATCH] fix error message typo --- config/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config.go b/config/config.go index e01a551..b835a98 100644 --- a/config/config.go +++ b/config/config.go @@ -157,7 +157,7 @@ func newTarget(targetType string, options json.RawMessage, factory TargetFactory return t, nil } } - return nil, fmt.Errorf("target type '%s' is unrecogized", targetType) + return nil, fmt.Errorf("target type '%s' is unrecognized", targetType) } func newFormatter(format string, options json.RawMessage, factory FormatterFactory) (logr.Formatter, error) { @@ -205,5 +205,5 @@ func newFormatter(format string, options json.RawMessage, factory FormatterFacto return f, nil } } - return nil, fmt.Errorf("format '%s' is unrecogized", format) + return nil, fmt.Errorf("format '%s' is unrecognized", format) }