chore: pin GH commits and switch to golangci-lint (#4444)
* chore: pin GH commits * switch to golangci-lint-action * fix lint issues
This commit is contained in:
@@ -71,11 +71,11 @@ func (fc *FrameChain) OnFrame(extFrameNum uint64, fd *dd.FrameDependencyTemplate
|
||||
}
|
||||
|
||||
var intact bool
|
||||
switch {
|
||||
case sd == selectorDecisionForwarded:
|
||||
switch sd {
|
||||
case selectorDecisionForwarded:
|
||||
intact = true
|
||||
|
||||
case sd == selectorDecisionUnknown:
|
||||
case selectorDecisionUnknown:
|
||||
// If the previous frame is unknown, means it has not arrived but could be recovered by NACK / out-of-order arrival,
|
||||
// set up a expected callback here to determine if the chain is broken or intact
|
||||
if fc.decisions.ExpectDecision(prevFrameInChain, fc.OnExpectFrameChanged) {
|
||||
|
||||
Reference in New Issue
Block a user