We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 043ee62 commit 8543f82Copy full SHA for 8543f82
2 files changed
src/api/mod.rs
@@ -449,7 +449,7 @@ impl AuthenticatedApi<'_> {
449
}
450
451
/// Returns the auth info for use in external service authorization.
452
- pub fn get_auth(&self) -> &Auth {
+ pub fn auth(&self) -> &Auth {
453
self.api
454
.config
455
.get_auth()
src/commands/build/snapshots.rs
@@ -207,7 +207,7 @@ fn upload_images(
207
let client = ClientBuilder::new(options.objectstore.url)
208
.token({
209
// TODO: replace with auth from `ObjectstoreUploadOptions` when appropriate
210
- let auth = match authenticated_api.get_auth() {
+ let auth = match authenticated_api.auth() {
211
Auth::Token(token) => token.raw().expose_secret().to_owned(),
212
};
213
auth
0 commit comments