Skip to content

Commit

Permalink
refactor: update debug log format
Browse files Browse the repository at this point in the history
Co-authored-by: Shlomi k <[email protected]>
  • Loading branch information
razbroc and CL-SHLOMIKONCHA authored Aug 1, 2024
1 parent 7378fa6 commit 10afbb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/createPackage/models/createPackageManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class CreatePackageManager {
@withSpanAsyncV4
private async validateFreeSpace(estimatesGpkgSize: number): Promise<boolean> {
const diskFreeSpace = await this.getFreeStorage(); // calculate free space including other running jobs
this.logger.debug(`Estimated requested gpkg size: ${estimatesGpkgSize}, Estimated free space: ${diskFreeSpace}`);
this.logger.debug({msg: `Estimated requested gpkg size: ${estimatesGpkgSize}, Estimated free space: ${diskFreeSpace}`});
return diskFreeSpace - estimatesGpkgSize >= 0;
}

Expand Down

0 comments on commit 10afbb1

Please sign in to comment.