Propagate context to OS calls that can leverage its cancellation / timeout

This commit is contained in:
riccardom
2026-06-22 18:16:37 +02:00
parent c660306cfb
commit ea08b3d2dc
7 changed files with 23 additions and 13 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ func GetInfoWithChecks(ctx context.Context, checks []*proto.Checks) (*Info, erro
processCheckPaths = append(processCheckPaths, check.GetFiles()...)
}
files, err := checkFileAndProcess(processCheckPaths)
files, err := checkFileAndProcess(ctx, processCheckPaths)
if err != nil {
return nil, err
}