Merge pull request #1756 from balena-os/1755-delta-logs

Log the delta URL that will be downloaded on update
This commit is contained in:
bulldozer-balena[bot] 2021-07-22 16:00:16 +00:00 committed by GitHub
commit 17d09b91ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -257,7 +257,7 @@ function applyRsyncDelta(
onProgress: ProgressCallback,
logFn: (str: string) => void,
): Promise<string> {
logFn('Applying rsync delta...');
logFn(`Applying rsync delta: ${deltaUrl}`);
return new Promise(async (resolve, reject) => {
const resumable = await request.getResumableRequest();
@ -299,7 +299,7 @@ async function applyBalenaDelta(
onProgress: ProgressCallback,
logFn: (str: string) => void,
): Promise<string> {
logFn('Applying balena delta...');
logFn(`Applying balena delta: ${deltaImg}`);
let auth: Dictionary<unknown> | undefined;
if (token != null) {