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

fixing dc and xdr stat collection #63

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

fixing dc and xdr stat collection #63

wants to merge 6 commits into from

Conversation

tanmayja
Copy link
Contributor

@tanmayja tanmayja commented Nov 6, 2024

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Nov 6, 2024

Codecov Report

Attention: Patch coverage is 19.04762% with 102 lines in your changes missing coverage. Please review.

Project coverage is 35.06%. Comparing base (5562cfa) to head (01bfbbb).

Files with missing lines Patch % Lines
asconfig/as_setconfig.go 5.88% 64 Missing ⚠️
asconfig/as_getconfig.go 0.00% 25 Missing ⚠️
info/as_parser.go 51.85% 12 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #63      +/-   ##
==========================================
- Coverage   36.24%   35.06%   -1.18%     
==========================================
  Files          23       23              
  Lines        5615     5592      -23     
==========================================
- Hits         2035     1961      -74     
- Misses       3441     3500      +59     
+ Partials      139      131       -8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

func GetASConfig(path *string, conn *deployment.ASConn, aerospikePolicy *aero.ClientPolicy) (
confToReturn interface{}, err error) {
func GetASConfig(paths []string, conn *deployment.ASConn, aerospikePolicy *aero.ClientPolicy) (
confToReturn map[string]interface{}, err error) {
h := aero.Host{
Name: conn.AerospikeHostName,
Port: conn.AerospikePort,
TLSName: conn.AerospikeTLSName,
}
asinfo := info.NewAsInfo(conn.Log, &h, aerospikePolicy)
Copy link
Contributor

Choose a reason for hiding this comment

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

Kindly close the connection opened by the client, there is a connection leak

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants