mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 19:23:40 +00:00
Added mutex locks when accessing file object : lint check fix
This commit is contained in:
parent
9ed4c58a1f
commit
0e76e2c2bb
@ -244,7 +244,7 @@ func TestReadRotatedLog(t *testing.T) {
|
||||
mu.Lock()
|
||||
path := file.Name()
|
||||
mu.Unlock()
|
||||
ReadLogs(ctx, path, containerID, opts, fakeRuntimeService, stdoutBuf, stderrBuf)
|
||||
_ = ReadLogs(ctx, path, containerID, opts, fakeRuntimeService, stdoutBuf, stderrBuf)
|
||||
}(ctx)
|
||||
|
||||
// log in stdout
|
||||
|
Loading…
Reference in New Issue
Block a user