Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bugfix: fd-leak when RPC client communication fail (#1009)
in function 'ExecutionDone' file 'dkron/grpc_client.go', when the process fails, it use a code path without 'conn.Close()' directive. It seems an error because all code path closes the connexion even when succes is reported. Fix removing all conn.Close() and using defer. Co-authored-by: Thierry Fournier <[email protected]>
- Loading branch information