aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2025-02-14 18:52:45 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2025-02-14 18:52:45 -0500
commit7ca33106fd391adf355f78137bb17437be594070 (patch)
tree6c688a7c4afccaec2103202c7747ffc0f978528e /src
parentc7fc6029e1682e367ec9a84eac03e8c3175ad5f4 (diff)
downloadstasis-7ca33106fd391adf355f78137bb17437be594070.tar.gz
Use the same function as the delivery mechanism to ensure the docker archive name can be resolved
Diffstat (limited to 'src')
-rw-r--r--src/cli/stasis_indexer/helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/stasis_indexer/helpers.c b/src/cli/stasis_indexer/helpers.c
index 5ae01ca..e337787 100644
--- a/src/cli/stasis_indexer/helpers.c
+++ b/src/cli/stasis_indexer/helpers.c
@@ -269,7 +269,7 @@ struct StrList *get_docker_images(struct Delivery *ctx, char *pattern) {
return NULL;
}
tolower_s(tarball);
- replace_text(tarball, "+", "-", 0);
+ docker_sanitize_tag(tarball);
struct StrList *files = NULL;
get_files(&files, ctx->storage.docker_artifact_dir, tarball);