Skip to content

Commit 0a43d70

Browse files
committed
Resolve regression in lc-admin unix sockets
1 parent 22e80ff commit 0a43d70

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Change Log
22

3+
## 2.5.4
4+
5+
8th February 2021
6+
7+
Log Courier
8+
9+
- Resolve `lc-admin` regression with unix sockets - it now reports `unix-socket` instead of `log-courier-address`
10+
311
## 2.5.3
412

513
8th February 2021

lc-lib/admin/transport_unix.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func (d *unixDialer) Dial(network string, addr string) (net.Conn, error) {
3737
}
3838

3939
func (d *unixDialer) Host() string {
40-
return d.uaddr.Name
40+
return "unix-socket"
4141
}
4242

4343
func connectUnix(transport, path string) (netDialer, error) {

lc-lib/core/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
package core
1818

1919
// LogCourierVersion is the library version number
20-
const LogCourierVersion string = "2.5.3"
20+
const LogCourierVersion string = "2.5.4"

0 commit comments

Comments
 (0)