summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2023-07-01 15:09:03 -0700
committeriximeow <me@iximeow.net>2023-07-01 15:09:03 -0700
commitc8a10a3bedd6a68408d291d6357b18285597fb35 (patch)
treee5fee0680da231d62c0488121fd56aecc5ccfd21
parentd6c7bd54efc0516fc561926279b36408b77fba33 (diff)
stray ref to old jobs path
-rw-r--r--src/io.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io.rs b/src/io.rs
index 6e71282..50f9bad 100644
--- a/src/io.rs
+++ b/src/io.rs
@@ -66,7 +66,7 @@ pub struct ArtifactDescriptor {
impl ArtifactDescriptor {
pub async fn new(job_id: u64, artifact_id: u64) -> Result<Self, String> {
// TODO: jobs should be a configurable path
- let path = format!("jobs/{}/{}", job_id, artifact_id);
+ let path = format!("artifacts/{}/{}", job_id, artifact_id);
let file = OpenOptions::new()
.read(true)
.write(true)