debug status code for reaping images (#97)

This commit is contained in:
Salah Al Saleh
2022-07-27 11:01:16 -07:00
committed by GitHub
parent f21ab29a33
commit 14c8a30d7a

View File

@@ -69,6 +69,7 @@ async function main(argv): Promise<any> {
continue;
}
console.log("++++ status code", getResponse.statusCode);
console.log("++++ headers", JSON.stringify(getResponse.headers));
const deleteURI = `https://ttl.sh/v2/${imageAndTag[0]}/manifests/${getResponse.headers.etag.replace(/"/g,"")}`;