There's a small cosmetic issue in an error message:
+ listener, err := net.Listen("unix", tempSocketPath) + if err != nil { + logger.Errorf("failed to listen on unix:%s: %v", socketPath, err)
Perhaps tempSocketPath should be logged instead of socketPath; that more directly reflects the potentially failed operation.
Thanks
There's a small cosmetic issue in an error message:
+ listener, err := net.Listen("unix", tempSocketPath) Errorf( "failed to listen on unix:%s: %v", socketPath, err)
+ if err != nil {
+ logger.
Perhaps tempSocketPath should be logged instead of socketPath; that more directly reflects the potentially failed operation.
Thanks