mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 20:17:41 +00:00
pkg/util/coverage: update fakeTestDeps methods
Go 1.23 changed the signature of the testDeps interface so we need to add a blank implementation for InitRuntimeCoverage to fakeTestDeps.
This commit is contained in:
parent
1cfaa95cab
commit
b8e5a3ed32
@ -105,3 +105,8 @@ func (fakeTestDeps) ResetCoverage() {}
|
|||||||
|
|
||||||
//nolint:unused // U1000 see comment above, we know it's unused normally.
|
//nolint:unused // U1000 see comment above, we know it's unused normally.
|
||||||
func (fakeTestDeps) SnapshotCoverage() {}
|
func (fakeTestDeps) SnapshotCoverage() {}
|
||||||
|
|
||||||
|
//nolint:unused // U1000 see comment above, we know it's unused normally.
|
||||||
|
func (fakeTestDeps) InitRuntimeCoverage() (mode string, tearDown func(string, string) (string, error), snapcov func() float64) {
|
||||||
|
return "", nil, nil
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user