Skip to content
Snippets Groups Projects
Commit 10620707 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

tests: fix coverage

parent 5819c114
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,7 @@ async function getAuthHeaders(registry, repository) {
`Obtaining docker registry token for ${repository} using url ${authUrl}`
);
const { token } = (await got(authUrl, { json: true })).body;
// istanbul ignore if
if (!token) {
logger.warn('Failed to obtain docker registry token');
return null;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment