refactor: go fix ftw

This commit is contained in:
Kharec committed 2026-02-19 17:37:42 +01:00
1 parent 9185ffa6b5
commit 85882bae14
21 files changed
+82 -98

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ func (c *SMTPChecker) Name() string {
func (c *SMTPChecker) Check(ctx context.Context) Result {
start := time.Now()
address := fmt.Sprintf("%s:%d", c.config.Host, c.config.Port)
address := net.JoinHostPort(c.config.Host, fmt.Sprintf("%d", c.config.Port))
result := Result{
Status: StatusHealthy,