Skip to content

add time window package #910

add time window package

add time window package #910

Triggered via push October 19, 2023 06:39
Status Failure
Total duration 7m 17s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

check.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors
statics: pkg/window/policy.go#L104
assignOp: replace `offset = offset - r.size` with `offset -= r.size` (gocritic)
statics: pkg/window/reduce.go#L40
assignOp: replace `count = count + 1` with `count++` (gocritic)
statics: pkg/window/reduce.go#L26
assignOp: replace `result = result + p` with `result += p` (gocritic)
statics: pkg/window/reduce.go#L39
assignOp: replace `result = result + p` with `result += p` (gocritic)
statics: pkg/window/counter_test.go#L80
assignOp: replace `x = x + 1` with `x++` (gocritic)
statics: pkg/window/policy_test.go#L61
ST1003: var totalTs should be totalTS (stylecheck)
statics
Process completed with exit code 2.