Skip to content

Commit

Permalink
follow latest
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshidan committed Aug 12, 2024
1 parent 1e98ed4 commit c87bc62
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions spanner/src/admin/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,9 @@ impl AdminClientConfig {
}

fn auth_config() -> google_cloud_auth::project::Config<'static> {
google_cloud_auth::project::Config {
audience: Some(crate::apiv1::conn_pool::AUDIENCE),
scopes: Some(&crate::apiv1::conn_pool::SCOPES),
sub: None,
..Default::default()
}
google_cloud_auth::project::Config::default()
.with_audience(crate::apiv1::conn_pool::AUDIENCE)
.with_scopes(&crate::apiv1::conn_pool::SCOPES)
}
}

Expand Down

0 comments on commit c87bc62

Please sign in to comment.