Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: ChengyuZhu6 <[email protected]>
  • Loading branch information
ChengyuZhu6 committed Mar 5, 2024
1 parent a151bca commit f4c40f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion image-rs/src/image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ impl ImageClient {
decrypt_config: &Option<&str>,
) -> Result<String> {
let reference = Reference::try_from(image_url)?;

self.config.auth=false;
self.config.security_validate=false;
// Try to get auth using input param.
let auth = if let Some(auth_info) = auth_info {
if let Some((username, password)) = auth_info.split_once(':') {
Expand Down

0 comments on commit f4c40f5

Please sign in to comment.