Skip to content

Commit

Permalink
chore: Bump oci-distribution to 0.11.0
Browse files Browse the repository at this point in the history
Signed-off-by: Joonas Bergius <joonas@cosmonic.com>
  • Loading branch information
joonas authored and thomastaylor312 committed May 16, 2024
1 parent b363d41 commit 88c07bf
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 10 deletions.
37 changes: 31 additions & 6 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 @@ -215,7 +215,7 @@ nkeys = { version = "0.3", default-features = false }
normpath = { version = "1", default-features = false }
notify = { version = "6", default-features = false }
nuid = { version = "0.4", default-features = false }
oci-distribution = { version = "0.9", default-features = false }
oci-distribution = { version = "0.11", default-features = false }
once_cell = { version = "1", default-features = false }
opentelemetry = { version = "0.21", default-features = false }
opentelemetry-appender-tracing = { version = "0.2", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion crates/host/src/oci.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ impl Fetcher {
} else {
ClientProtocol::Https
};
let mut c = Client::new(ClientConfig {
let c = Client::new(ClientConfig {
protocol,
extra_root_certificates: tls::NATIVE_ROOTS_OCI.to_vec(),
..Default::default()
Expand Down
4 changes: 2 additions & 2 deletions crates/wash-lib/src/registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ pub async fn pull_oci_artifact(url: String, options: OciPullOptions) -> Result<V
}
}

let mut client = Client::new(ClientConfig {
let client = Client::new(ClientConfig {
protocol: if options.insecure {
ClientProtocol::Http
} else {
Expand Down Expand Up @@ -225,7 +225,7 @@ pub async fn push_oci_artifact(
annotations: None,
}];

let mut client = Client::new(ClientConfig {
let client = Client::new(ClientConfig {
protocol: if options.insecure {
ClientProtocol::Http
} else {
Expand Down

0 comments on commit 88c07bf

Please sign in to comment.