Skip to content
This repository has been archived by the owner on Sep 19, 2022. It is now read-only.

Commit

Permalink
remove .sock suffix from UDS
Browse files Browse the repository at this point in the history
  • Loading branch information
FeodorFitsner committed Nov 19, 2020
1 parent 97bf314 commit 753e87e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/client/unix_domain_socket.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func (pc *unixDomainSocket) commandLoop() {
log.Println("Starting command loop:", pc.commandPipeName)

var err error
sockAddr := filepath.Join(os.TempDir(), coreFxSocketPrefix+pc.commandPipeName+".sock")
sockAddr := filepath.Join(os.TempDir(), coreFxSocketPrefix+pc.commandPipeName)
pc.commandListener, err = net.Listen("unix", sockAddr)
if err != nil {
// handle error
Expand Down Expand Up @@ -153,7 +153,7 @@ func (pc *unixDomainSocket) eventLoop() {
log.Println("Starting event loop:", pc.eventPipeName)

var err error
sockAddr := filepath.Join(os.TempDir(), coreFxSocketPrefix+pc.eventPipeName+".sock")
sockAddr := filepath.Join(os.TempDir(), coreFxSocketPrefix+pc.eventPipeName)
pc.eventListener, err = net.Listen("unix", sockAddr)
if err != nil {
// handle error
Expand Down

0 comments on commit 753e87e

Please sign in to comment.