Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SCC-SA4006] fix deepsource: Value assigned to a variable is never read before bei… #1871

Conversation

datelier
Copy link
Contributor

…ng overwritten

Description:

SSIA

Related Issue:

Versions:

  • Go Version: 1.19.2
  • Docker Version: 20.10.8
  • Kubernetes Version: 1.22.0
  • NGT Version: 1.14.8

Checklist:

Special notes for your reviewer:

@vdaas-ci
Copy link
Collaborator

[CHATOPS:HELP] ChatOps commands.

  • 🙆‍♀️ /approve - approve
  • 💌 /changelog - replace the PR body by changelog details
  • 🍱 /format - format codes and add licenses
  • /gen-test - generate test codes
  • 🏷️ /label - add labels
  • /rebase - rebase main
  • 🔚 2️⃣ 🔚 /label actions/e2e-deploy - run E2E deploy & integration test

@codecov
Copy link

codecov bot commented Nov 24, 2022

Codecov Report

Base: 30.58% // Head: 30.55% // Decreases project coverage by -0.02% ⚠️

Coverage data is based on head (7673b56) compared to base (609bb96).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1871      +/-   ##
==========================================
- Coverage   30.58%   30.55%   -0.03%     
==========================================
  Files         367      367              
  Lines       33829    33829              
==========================================
- Hits        10345    10335      -10     
- Misses      23075    23083       +8     
- Partials      409      411       +2     
Impacted Files Coverage Δ
...ent/core/ngt/service/vqueue/undeleted_index_map.go 71.58% <0.00%> (-5.47%) ⬇️
internal/errgroup/group.go 93.00% <0.00%> (-2.00%) ⬇️
internal/worker/worker.go 83.07% <0.00%> (+1.53%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

…ariable-is-never-read-before-being-overwritten
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Nov 24, 2022

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7673b56
Status: ✅  Deploy successful!
Preview URL: https://51346d95.vald.pages.dev
Branch Preview URL: https://refactoring-scc-sa4006-value.vald.pages.dev

View logs

@vankichi vankichi merged commit ea82dbc into main Nov 24, 2022
@vankichi vankichi deleted the refactoring/SCC-SA4006/value-assigned-to-a-variable-is-never-read-before-being-overwritten branch November 24, 2022 13:30
@kpango kpango mentioned this pull request Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants