File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -96,8 +96,6 @@ async fn fetch_container_to_devnull(o: GetMetadataOpts) -> Result<()> {
96
96
let mut devnull = tokio:: io:: sink ( ) ;
97
97
let copier = tokio:: io:: copy ( & mut blob, & mut devnull) ;
98
98
let ( copier, driver) = tokio:: join!( copier, driver) ;
99
- dbg ! ( & copier) ;
100
- dbg ! ( & driver) ;
101
99
copier?;
102
100
driver?;
103
101
}
Original file line number Diff line number Diff line change @@ -545,6 +545,11 @@ impl ImageProxy {
545
545
/// <https://github.com/opencontainers/image-spec/blob/main/descriptor.md>
546
546
///
547
547
/// The requested size and digest are verified (by the proxy process).
548
+ ///
549
+ /// Note that because of the implementation details of this function, you should
550
+ /// [`futures::join!`] the returned futures instead of polling one after the other. The
551
+ /// secondary "driver" future will only return once everything has been read from
552
+ /// the reader future.
548
553
#[ instrument]
549
554
pub async fn get_blob (
550
555
& self ,
You can’t perform that action at this time.
0 commit comments