fix(image): take scheme-less health-check URLs, anchor the compose pin, say which tools left

This commit is contained in:
Marc-André Bombeck committed 2026-11-04 14:32:58 +01:00
1 parent fb143a2d47
commit 27b054d8c4
5 files changed
+28 -10

No files matched your search

+3
View File
@@ -62,6 +62,9 @@ function parseArgs(argv) {
};
if (/^https?:\/\//i.test(arg)) {
opts.url ??= arg;
} else if (/^[a-z0-9.[\]:-]+(:\d+)?\//i.test(arg)) {
// busybox wget takes `127.0.0.1:3000/api/health` without a scheme.
opts.url ??= `http://${arg}`;
} else if (arg === "--spider") {
opts.spider = true;
} else if (arg === "-q" || arg === "--quiet") {