Commit e656385
authored
fix(utils): close SSH client in GetKubeConfig (#640)
provisioner.New() opens an SSH connection that was never closed,
leaking a TCP socket and SSH multiplexer goroutines on every call.
Audit finding #4 (HIGH).
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>1 parent cd825fe commit e656385
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
0 commit comments