Skip to content

Commit

Permalink
fix error message typo
Browse files Browse the repository at this point in the history
  • Loading branch information
wiggin77 committed Oct 3, 2023
1 parent 918322d commit 4b8253b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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)
}

0 comments on commit 4b8253b

Please sign in to comment.