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

Unconditional recursive call in cs_metrics_wrapper.go #8204

Closed
chavacava opened this issue Aug 4, 2024 · 0 comments
Closed

Unconditional recursive call in cs_metrics_wrapper.go #8204

chavacava opened this issue Aug 4, 2024 · 0 comments
Assignees

Comments

@chavacava
Copy link

func (csMW *CSMetricWrapper) PersistGhostHashes(ctx context.Context, refs hash.HashSet) error {
return csMW.PersistGhostHashes(ctx, refs)
}

Seems to be an unconditional (thus "infinite") recursive call.

Should be return csMW.cs.PersistGhostHashes(ctx, refs) ?

(found with revive)

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

No branches or pull requests

3 participants