pkg/fileutils/fileutils_linux.go
Function GetTotalUsedFds
has 5 return statements (exceeds 4 allowed). Open
Open
func GetTotalUsedFds(ctx context.Context) int {
ctx, span := tracing.StartSpan(ctx, "GetTotalUsedFds")
defer span.End()
name := fmt.Sprintf("/proc/%d/fd", os.Getpid())