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

Echo warning for unnecessary params used #10053

Merged
merged 5 commits into from
Sep 13, 2021
Merged

Echo warning for unnecessary params used #10053

merged 5 commits into from
Sep 13, 2021

Conversation

ChristineTChen
Copy link
Contributor

@ChristineTChen ChristineTChen commented Sep 3, 2021

What does this PR do?

This PR warns on usage of auth or header in http wrapper. These are already handled and is redundant

Motivation

Screen Shot 2021-09-03 at 4 02 52 PM

Additional Notes

Instead of iterating each line of a python file, perhaps we can just regex search?

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • PR title must be written as a CHANGELOG entry (see why)
  • Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
  • PR must have changelog/ and integration/ labels attached

@codecov
Copy link

codecov bot commented Sep 3, 2021

Codecov Report

Merging #10053 (238517a) into master (9f83705) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Flag Coverage Δ
cloud_foundry_api 95.98% <ø> (+0.12%) ⬆️
datadog_checks_dev 79.41% <ø> (-0.04%) ⬇️
voltdb 96.81% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@ChristineTChen ChristineTChen merged commit 3901cbc into master Sep 13, 2021
@ChristineTChen ChristineTChen deleted the cc/http-warn branch September 13, 2021 18:20
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.

2 participants