Refactor SMF code for readability, conciseness, and modularity #382
Annotations
10 errors and 1 warning
internal/context/datapath.go#L312
ifElseChain: rewrite if-else to switch statement (gocritic)
|
internal/sbi/api_upi.go#L72
File is not `gofumpt`-ed (gofumpt)
|
internal/sbi/processor/association.go#L263
S1023: redundant break statement (gosimple)
|
internal/sbi/processor/pdu_session.go#L130
shadow: declaration of "err" shadows declaration at line 83 (govet)
|
internal/sbi/processor/pdu_session.go#L152
shadow: declaration of "err" shadows declaration at line 83 (govet)
|
internal/sbi/processor/pdu_session.go#L185
shadow: declaration of "err" shadows declaration at line 83 (govet)
|
internal/sbi/processor/pdu_session_test.go#L648
shadow: declaration of "err" shadows declaration at line 593 (govet)
|
internal/context/datapath.go#L50
line is 125 characters (lll)
|
internal/context/sm_context.go#L541
line is 164 characters (lll)
|
internal/context/sm_context.go#L572
line is 128 characters (lll)
|
|
This job failed
Loading