openshift / oadp-operator

OADP Operator
Apache License 2.0
78 stars 72 forks source link

controllers/velero.go: `veleroDeployment *appsv1.Deployment` unused in customizeVeleroContainer #1595

Open kaovilai opened 6 days ago

kaovilai commented 6 days ago

veleroDeployment *appsv1.Deployment is unused https://github.com/openshift/oadp-operator/blob/d55863cc4150afae779715219e5583521c1049f3/controllers/velero.go#L509

mateusoliveira43 commented 5 days ago

This the kind of thing linters should take care

This one should do the job https://github.com/openshift/oadp-operator/blob/c0f2825bdba4fb4064cba5609c4c09fe45737b68/.golangci.yaml#L109