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

enhancement(dependencies): move reqwest to dev-dependencies #2952

Merged
merged 7 commits into from
Jul 6, 2020

Conversation

fanatid
Copy link
Contributor

@fanatid fanatid commented Jul 4, 2020

  • Move reqwest to dev-dependencies
  • Update reqwest
  • Remove old http:0.1 crate
  • Remove old headers:0.2 crate

Close #2782

Signed-off-by: Kirill Fomichev <fanatid@ya.ru>
Signed-off-by: Kirill Fomichev <fanatid@ya.ru>
Signed-off-by: Kirill Fomichev <fanatid@ya.ru>
Signed-off-by: Kirill Fomichev <fanatid@ya.ru>
Signed-off-by: Kirill Fomichev <fanatid@ya.ru>
@fanatid fanatid added type: tech debt A code change that does not add user value. domain: dependencies labels Jul 4, 2020
@fanatid fanatid requested review from bruceg and ktff July 4, 2020 21:28
Signed-off-by: Kirill Fomichev <fanatid@ya.ru>
Copy link
Member

@bruceg bruceg left a comment

Choose a reason for hiding this comment

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

Mostly looks pretty straightforward, just a couple of small requests to clean up.

src/sinks/gcp/pubsub.rs Outdated Show resolved Hide resolved
src/sinks/influxdb/metrics.rs Outdated Show resolved Hide resolved
Comment on lines +388 to +404
// It usually takes ~1 second for the event to show up in search, so poll until
// we see it.
async fn find_entry(message: &str) -> serde_json::value::Value {
let value = Some(message);
for _ in 0..20usize {
match recent_entries(None)
.await
.into_iter()
.find(|entry| entry["message"].as_str() == value)
{
Some(value) => return value,
None => std::thread::sleep(std::time::Duration::from_millis(100)),
}
}
panic!("Didn't find event in Splunk");
}

Copy link
Member

Choose a reason for hiding this comment

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

Good catch to deduplicate this.

Signed-off-by: Kirill Fomichev <fanatid@ya.ru>
@fanatid
Copy link
Contributor Author

fanatid commented Jul 6, 2020

@bruceg thanks for checking! Fixed.

@fanatid fanatid merged commit c34607e into master Jul 6, 2020
@fanatid fanatid deleted the reqwest-update branch July 6, 2020 14:23
mengesb pushed a commit to jacobbraaten/vector that referenced this pull request Dec 9, 2020
)

* enhancement(dependencies): move reqwest to dev-dependencies

Signed-off-by: Kirill Fomichev <fanatid@ya.ru>

* update to new reqwest

Signed-off-by: Kirill Fomichev <fanatid@ya.ru>

* fix docker feature

Signed-off-by: Kirill Fomichev <fanatid@ya.ru>

* remove http:0.1

Signed-off-by: Kirill Fomichev <fanatid@ya.ru>

* remove headers:02

Signed-off-by: Kirill Fomichev <fanatid@ya.ru>

* fix clickhouse tests

Signed-off-by: Kirill Fomichev <fanatid@ya.ru>

* minor fixes

Signed-off-by: Kirill Fomichev <fanatid@ya.ru>
Signed-off-by: Brian Menges <brian.menges@anaplan.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: tech debt A code change that does not add user value.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants