Skip to content

Commit

Permalink
Update src/tool_provider/artifactory.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Raymond Ng <[email protected]>
  • Loading branch information
afujiwara-roblox and raymondnumbergenerator authored Apr 18, 2024
1 parent 01090b5 commit 8657f41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tool_provider/artifactory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ impl ToolProviderImpl for ArtifactoryProvider {
.map_err(|error| ForemanError::ArtiAAError { error })?;

if let Some(credentials) = tokens.get_credentials(host) {
builder = builder.header(AUTHORIZATION, format! {"Bearer {}", credentials.token});
builder = builder.header(AUTHORIZATION, format!("Bearer {}", credentials.token));
}
log::debug!("Downloading artifactory releases for {}", repo);
let response_body = builder
Expand Down

0 comments on commit 8657f41

Please sign in to comment.