Skip to content

Commit

Permalink
Fix spelling issues (#3700)
Browse files Browse the repository at this point in the history
Signed-off-by: futreall <86553580+futreall@users.noreply.github.com>
  • Loading branch information
futreall authored Feb 5, 2025
1 parent 51d2ee6 commit db66511
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/admin/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ type GetLoggerLevelArgs struct {
func (a *Admin) GetLoggerLevel(_ *http.Request, args *GetLoggerLevelArgs, reply *LoggerLevelReply) error {
a.Log.Debug("API called",
zap.String("service", "admin"),
zap.String("method", "getLoggerLevels"),
zap.String("method", "getLoggerLevel"),
logging.UserString("loggerName", args.LoggerName),
)

Expand Down
2 changes: 1 addition & 1 deletion api/health/health_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func awaitLiveness(t *testing.T, r Reporter, liveness bool) {
}, awaitTimeout, awaitFreq)
}

func TestDuplicatedRegistations(t *testing.T) {
func TestDuplicatedRegistrations(t *testing.T) {
require := require.New(t)

check := CheckerFunc(func(context.Context) (interface{}, error) {
Expand Down
2 changes: 1 addition & 1 deletion api/health/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var (
allTags = []string{AllTag}

errRestrictedTag = errors.New("restricted tag")
errDuplicateCheck = errors.New("duplicated check")
errDuplicateCheck = errors.New("duplicate check")
)

type worker struct {
Expand Down

0 comments on commit db66511

Please sign in to comment.