Add ygnmi validator #153
go.yml
on: pull_request
go
/
Static Analysis
24s
go
/
staticcheck
20s
Matrix: go / Build and Test
Annotations
10 errors
go / Static Analysis:
yangutil/yangutil.go#L23
exported function GetAllYANGFiles should have comment or be unexported
|
go / Static Analysis:
openconfig-ci/main.go#L15
should have a package comment
|
go / Static Analysis:
commonci/commonci.go#L287
exported type ValidatorAndVersion should have comment or be unexported
|
go / Static Analysis:
openconfig-ci/ocdiff/ocdiff.go#L149
exported method DiffReport.Sort should have comment or be unexported
|
go / Static Analysis:
openconfig-ci/ocdiff/ocdiff.go#L158
if block ends with a return statement, so drop this else and outdent its block
|
go / Static Analysis:
post_results/main_test.go#L272
struct field inValidatorId should be inValidatorID
|
go / Static Analysis:
post_results/main_test.go#L630
struct field inValidatorId should be inValidatorID
|
go / Static Analysis:
post_results/misc-checks.go#L115
should replace filesReachedCount += 1 with filesReachedCount++
|
go / Static Analysis:
post_results/misc-checks.go#L129
should replace ocVersionChangedCount += 1 with ocVersionChangedCount++
|
go / Static Analysis:
post_results/misc-checks.go#L140
should replace ocVersionChangedCount += 1 with ocVersionChangedCount++
|