crowdsec icon indicating copy to clipboard operation
crowdsec copied to clipboard

apiserver/apiclient: lint

Open mmetc opened this issue 2 years ago • 3 comments

mmetc avatar Jan 04 '24 08:01 mmetc

@mmetc: There are no 'kind' label on this PR. You need a 'kind' label to generate the release automatically.

  • /kind feature
  • /kind enhancement
  • /kind fix
  • /kind chore
  • /kind dependencies
Details

I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

github-actions[bot] avatar Jan 04 '24 08:01 github-actions[bot]

@mmetc: There are no area labels on this PR. You can add as many areas as you see fit.

  • /area agent
  • /area local-api
  • /area cscli
  • /area security
  • /area configuration
Details

I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

github-actions[bot] avatar Jan 04 '24 08:01 github-actions[bot]

Codecov Report

Attention: Patch coverage is 28.78788% with 47 lines in your changes are missing coverage. Please review.

Project coverage is 57.91%. Comparing base (8e9e091) to head (7e83e91).

Files Patch % Lines
pkg/apiserver/papi.go 0.00% 20 Missing :warning:
pkg/apiserver/controllers/v1/decisions.go 0.00% 19 Missing :warning:
pkg/apiserver/papi_cmd.go 0.00% 4 Missing :warning:
pkg/apiserver/middlewares/v1/jwt.go 50.00% 3 Missing :warning:
pkg/apiserver/apic.go 93.33% 1 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2695      +/-   ##
==========================================
- Coverage   57.98%   57.91%   -0.08%     
==========================================
  Files         240      236       -4     
  Lines       31040    30673     -367     
==========================================
- Hits        18000    17764     -236     
+ Misses      11411    11315      -96     
+ Partials     1629     1594      -35     
Flag Coverage Δ
bats 38.02% <19.69%> (+0.03%) :arrow_up:
unit-linux 52.28% <27.27%> (+0.01%) :arrow_up:
unit-windows ?

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Jan 04 '24 08:01 codecov[bot]