Skip to content

Commit

Permalink
chore(deps): bump tonic from 0.7.1 to 0.7.2 (#12629)
Browse files Browse the repository at this point in the history
* chore(deps): bump tonic from 0.7.1 to 0.7.2

Bumps [tonic](https://github.com/hyperium/tonic) from 0.7.1 to 0.7.2.
- [Release notes](https://github.com/hyperium/tonic/releases)
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md)
- [Commits](hyperium/tonic@v0.7.1...v0.7.2)

---
updated-dependencies:
- dependency-name: tonic
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix gcp_pubsub

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bruce Guenter <bruce.guenter@datadoghq.com>
  • Loading branch information
dependabot[bot] and bruceg authored May 10, 2022
1 parent ca86b82 commit 7170410
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ tikv-jemallocator = { version = "0.4.3", default-features = false, optional = tr
tokio-postgres = { version = "0.7.6", default-features = false, features = ["runtime", "with-chrono-0_4"], optional = true }
tokio-tungstenite = {version = "0.15.0", default-features = false, features = ["connect"], optional = true}
toml = { version = "0.5.9", default-features = false }
tonic = { version = "0.7.1", optional = true, default-features = false, features = ["transport", "codegen", "prost", "tls", "tls-roots", "compression"] }
tonic = { version = "0.7.2", optional = true, default-features = false, features = ["transport", "codegen", "prost", "tls", "tls-roots", "compression"] }
trust-dns-proto = { version = "0.21.0", default-features = false, features = ["dnssec"], optional = true }
typetag = { version = "0.1.8", default-features = false }
url = { version = "2.2.2", default-features = false, features = ["serde"] }
Expand Down
2 changes: 1 addition & 1 deletion src/sources/gcp_pubsub.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ impl PubsubSource {
connection,
|mut req: Request<()>| {
if let Some(credentials) = &self.credentials {
let authorization = MetadataValue::from_str(&credentials.make_token())
let authorization = MetadataValue::try_from(&credentials.make_token())
.map_err(|_| {
Status::new(
Code::FailedPrecondition,
Expand Down

0 comments on commit 7170410

Please sign in to comment.