Skip to content

Commit

Permalink
use qualify path
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 committed Oct 21, 2024
1 parent 911a15b commit f03a885
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aws-s3-transfer-manager/src/operation/upload/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use tokio::{sync::Mutex, task};
use tower::{service_fn, Service, ServiceBuilder, ServiceExt};
use tracing::Instrument;

use super::UploadHandle;
use super::{handle::UploadType, UploadHandle};

/// Request/input type for our "upload_part" service.
#[derive(Debug, Clone)]
Expand Down Expand Up @@ -106,10 +106,10 @@ pub(super) fn distribute_work(
.build(),
);
match &mut handle.upload_type {
crate::operation::upload::handle::UploadType::PutObject { .. } => {
UploadType::PutObject { .. } => {
panic!("distribute_work must not be called for PutObject.")
}
crate::operation::upload::handle::UploadType::MultipartUpload {
UploadType::MultipartUpload {
upload_part_tasks,
read_body_tasks,
} => {
Expand Down

0 comments on commit f03a885

Please sign in to comment.