mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +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)
|
||||
}
|
||||
|
||||
func newRuntimeState(
|
||||
runtimeSyncThreshold time.Duration,
|
||||
) *runtimeState {
|
||||
func newRuntimeState(runtimeSyncThreshold time.Duration) *runtimeState {
|
||||
return &runtimeState{
|
||||
lastBaseRuntimeSync: time.Time{},
|
||||
baseRuntimeSyncThreshold: runtimeSyncThreshold,
|
||||
|
Loading…
Reference in New Issue
Block a user