Skip to content

Commit b9e5a1f

Browse files
committed
fix
1 parent e06dc43 commit b9e5a1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adapters/syslog/syslog.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
var hostname string
1818

1919
func init() {
20-
hostname, _ := os.Hostname()
20+
hostname, _ = os.Hostname()
2121
router.AdapterFactories.Register(NewSyslogAdapter, "syslog")
2222
}
2323

0 commit comments

Comments
 (0)