Skip to content

Commit 930bedf

Browse files
author
Zhou Peng
committed
[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 <[email protected]>
1 parent f790f0a commit 930bedf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pkg/kubelet/runtime.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,7 @@ func (s *runtimeState) storageErrors() error {
128128
return utilerrors.NewAggregate(errs)
129129
}
130130

131-
func newRuntimeState(
132-
runtimeSyncThreshold time.Duration,
133-
) *runtimeState {
131+
func newRuntimeState(runtimeSyncThreshold time.Duration) *runtimeState {
134132
return &runtimeState{
135133
lastBaseRuntimeSync: time.Time{},
136134
baseRuntimeSyncThreshold: runtimeSyncThreshold,

0 commit comments

Comments
 (0)