mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Merge pull request #89681 from iobuf/cleanup-kubelet
[pkg/kubelet]: make func a little comfortable
This commit is contained in:
commit
ac5a6aced2
@ -128,9 +128,7 @@ func (s *runtimeState) storageErrors() error {
|
|||||||
return utilerrors.NewAggregate(errs)
|
return utilerrors.NewAggregate(errs)
|
||||||
}
|
}
|
||||||
|
|
||||||
func newRuntimeState(
|
func newRuntimeState(runtimeSyncThreshold time.Duration) *runtimeState {
|
||||||
runtimeSyncThreshold time.Duration,
|
|
||||||
) *runtimeState {
|
|
||||||
return &runtimeState{
|
return &runtimeState{
|
||||||
lastBaseRuntimeSync: time.Time{},
|
lastBaseRuntimeSync: time.Time{},
|
||||||
baseRuntimeSyncThreshold: runtimeSyncThreshold,
|
baseRuntimeSyncThreshold: runtimeSyncThreshold,
|
||||||
|
Loading…
Reference in New Issue
Block a user