fix(core): update

This commit is contained in:
2024-06-10 00:15:01 +02:00
parent 054585c7f5
commit 2e7e8ae5cf
8 changed files with 104 additions and 31 deletions

View File

@@ -166,7 +166,7 @@ export class DockerImage {
* exports an image to a tar ball
*/
public async exportToTarStream(): Promise<plugins.smartstream.stream.Readable> {
console.log(`Exporting image ${this.RepoTags[0]} to tar stream.`);
logger.log('info', `Exporting image ${this.RepoTags[0]} to tar stream.`);
const response = await this.dockerHost.requestStreaming('GET', `/images/${encodeURIComponent(this.RepoTags[0])}/get`);
let counter = 0;
const webduplexStream = new plugins.smartstream.SmartDuplex({