mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
[pkg/kubelet]: make func a little comfortable
This func has only 1 argument, don't wrap it across multiple lines Signed-off-by: Zhou Peng <p@ctriple.cn>
This commit is contained in:
parent
f790f0a93f
commit
930bedf144
@ -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