diff options
author | Runxi Yu <me@runxiyu.org> | 2025-08-17 14:04:18 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-08-17 14:04:18 +0800 |
commit | cfe758bce9d563e03690b2461d3c6c2bb1d4a9fb (patch) | |
tree | 123603a901b157549591b613d25bd55a14ba834c /forged/internal/incoming/hooks | |
parent | Lint misc (diff) | |
download | forge-cfe758bce9d563e03690b2461d3c6c2bb1d4a9fb.tar.gz forge-cfe758bce9d563e03690b2461d3c6c2bb1d4a9fb.tar.zst forge-cfe758bce9d563e03690b2461d3c6c2bb1d4a9fb.zip |
Fix incoming's calls to misc.Listen*
Diffstat (limited to 'forged/internal/incoming/hooks')
-rw-r--r-- | forged/internal/incoming/hooks/hooks.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forged/internal/incoming/hooks/hooks.go b/forged/internal/incoming/hooks/hooks.go index 65277d4..4400b61 100644 --- a/forged/internal/incoming/hooks/hooks.go +++ b/forged/internal/incoming/hooks/hooks.go @@ -45,7 +45,7 @@ func New(config Config) (server *Server) { } func (server *Server) Run(ctx context.Context) error { - listener, _, err := misc.ListenUnixSocket(server.socketPath) + listener, _, err := misc.ListenUnixSocket(ctx, server.socketPath) if err != nil { return fmt.Errorf("listen unix socket for hooks: %w", err) } |