Skip to content

Commit 327df44

Browse files
committed
fix: address API changes introduced by cached
Ensure the code keeps building Signed-off-by: Flavio Castelli <[email protected]>
1 parent 8728f82 commit 327df44

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/registry/oci_caching_client.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pub(crate) struct OciCachingClient {
3636
#[cached(
3737
time = 60,
3838
result = true,
39-
sync_writes = true,
39+
sync_writes = "default",
4040
key = "String",
4141
convert = r#"{ format!("{}", image) }"#,
4242
with_cached_flag = true
@@ -128,7 +128,7 @@ impl<'a> PullSettings<'a> {
128128
#[cached(
129129
time = 60,
130130
result = true,
131-
sync_writes = true,
131+
sync_writes = "default",
132132
key = "String",
133133
convert = r#"{ settings.hash() }"#,
134134
with_cached_flag = true
@@ -219,7 +219,7 @@ impl PullManifestSettings {
219219
#[cached(
220220
time = 60,
221221
result = true,
222-
sync_writes = true,
222+
sync_writes = "default",
223223
key = "String",
224224
convert = r#"{ settings.hash() }"#,
225225
with_cached_flag = true

0 commit comments

Comments
 (0)