Skip to content

Commit

Permalink
chore: fix typo's
Browse files Browse the repository at this point in the history
  • Loading branch information
denopink committed Dec 17, 2024
1 parent 4ca4e17 commit d188c27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/sink/sink.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func NewSink(c Config, logger *zap.Logger, listener ancla.Register) (Sink, error
}
}

return nil, fmt.Errorf("unknow webhook registry type")
return nil, fmt.Errorf("unknown webhook registry type")
}

func (v1 *WebhookV1) Update(c Config, l *zap.Logger, altUrls []string, id, failureUrl, receiverUrl string) {
Expand Down
2 changes: 1 addition & 1 deletion internal/sink/srvRecordDailer.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func NewSRVRecordDailer(dnsSrvRecord webhook.DNSSrvRecord) (http.RoundTripper, e
return d.srvs[i].Priority < d.srvs[j].Priority
})
default:
return nil, fmt.Errorf("unknwon loadBalancingScheme type: %s", d.dnsSrvRecord.LoadBalancingScheme)
return nil, fmt.Errorf("unknown loadBalancingScheme type: %s", d.dnsSrvRecord.LoadBalancingScheme)
}

return &http.Transport{
Expand Down

0 comments on commit d188c27

Please sign in to comment.