Skip to content

Commit

Permalink
Update rust/crd/src/s3logdir.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Nick <[email protected]>
  • Loading branch information
sbernauer and NickLarsenNZ authored Oct 1, 2024
1 parent a9ef995 commit d1c3214
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rust/crd/src/s3logdir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,11 @@ impl S3LogDir {
}

fn url(&self) -> String {
format!("s3a://{}/{}", self.bucket.bucket_name, self.prefix)
format!(
"s3a://{bucket_name}/{prefix}",
bucket_name = self.bucket.bucket_name,
prefix = self.prefix
);
}

pub fn volumes(&self) -> Result<Vec<Volume>, Error> {
Expand Down

0 comments on commit d1c3214

Please sign in to comment.