Run clippy on the whole project #58
No reviewers
Labels
No labels
action
check-aws
action
discussion-needed
action
for-external-contributors
action
for-newcomers
action
more-info-needed
action
need-funding
action
triage-required
kind
correctness
kind
ideas
kind
improvement
kind
performance
kind
testing
kind
usability
kind
wrong-behavior
prio
critical
prio
low
scope
admin-api
scope
background-healing
scope
build
scope
documentation
scope
k8s
scope
layout
scope
metadata
scope
ops
scope
rpc
scope
s3-api
scope
security
scope
telemetry
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#58
Loading…
Reference in a new issue
No description provided.
Delete branch "trinity-1686a:clippy"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Clippy is a linter widelly used. This PR aims at making it not warn on Garage code, and add it as part of CI
@ -424,7 +424,6 @@ impl System {
warn!("Node {:?} seems to be down.", id);
if !ring.config.members.contains_key(id) {
info!("Removing node {:?} from status (not in config and not responding to pings anymore)", id);
drop(st);
this line was triggering this lint, I'm not sure what the code was supposed to do, but it probably wasn't doing what expected
79587cf970
to0df7846933
0df7846933
toaf854ecb15
Superseded by #73, I am taking control of this @trinity-1686a to solve conflicts that keep appearing
Pull request closed