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

Fix deepsource: GO-W1009 using a deprecated function or etc #1846

Conversation

vankichi
Copy link
Contributor

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:

…ntant or field

Signed-off-by: vankichi <kyukawa315@gmail.com>
@vdaas-ci
Copy link
Collaborator

[WARNING:INTCFG] Changes in interal/config may require you to change Helm charts. Please check.

@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 21, 2022

Codecov Report

Base: 30.48% // Head: 30.54% // Increases project coverage by +0.05% 🎉

Coverage data is based on head (6de4688) compared to base (fc45cbb).
Patch coverage: 33.33% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1846      +/-   ##
==========================================
+ Coverage   30.48%   30.54%   +0.05%     
==========================================
  Files         367      367              
  Lines       33833    33823      -10     
==========================================
+ Hits        10314    10331      +17     
+ Misses      23101    23080      -21     
+ Partials      418      412       -6     
Impacted Files Coverage Δ
internal/config/grpc.go 87.97% <ø> (-0.08%) ⬇️
internal/net/grpc/option.go 4.93% <0.00%> (+0.19%) ⬆️
internal/net/grpc/pool/pool.go 0.00% <0.00%> (ø)
internal/net/net.go 85.71% <100.00%> (ø)
internal/backoff/backoff.go 73.26% <0.00%> (+1.98%) ⬆️
...ent/core/ngt/service/vqueue/undeleted_index_map.go 71.58% <0.00%> (+3.27%) ⬆️
...nt/core/ngt/service/vqueue/uninserted_index_map.go 73.65% <0.00%> (+5.37%) ⬆️

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.

@cloudflare-workers-and-pages
Copy link

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

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6de4688
Status: ✅  Deploy successful!
Preview URL: https://8974ef7d.vald.pages.dev
Branch Preview URL: https://refactor-go-w1009-using-a-de.vald.pages.dev

View logs

Copy link
Collaborator

@hlts2 hlts2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vankichi vankichi merged commit 7cad745 into main Nov 21, 2022
@vankichi vankichi deleted the refactor/GO-W1009/using-a-deprecated-function-variable-constant-field branch November 21, 2022 09:20
@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