fix: Request image authentication token with explicitly as json

Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
This commit is contained in:
Cameron Diver 2019-02-13 15:43:55 +00:00
parent d9177404b5
commit 81ec85c581
No known key found for this signature in database
GPG Key ID: 49690ED87032539F

View File

@ -97,6 +97,7 @@ export class DockerUtils extends DockerToolbelt {
pass: deltaOpts.currentApiKey,
sendImmediately: true,
},
json: true,
};
const tokenUrl = `${tokenEndpoint}?service=${
dstInfo.registry