fix(core): update
This commit is contained in:
parent
6743dc35e7
commit
68b2baadae
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@apiclient.xyz/docker',
|
name: '@apiclient.xyz/docker',
|
||||||
version: '1.1.2',
|
version: '1.1.3',
|
||||||
description: 'Provides easy communication with Docker remote API from Node.js, with TypeScript support.'
|
description: 'Provides easy communication with Docker remote API from Node.js, with TypeScript support.'
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,7 @@ export class DockerImageStore {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Method to store tar stream
|
// Method to store tar stream
|
||||||
public async storeImage(imageName: string, tarStream: NodeJS.ReadableStream): Promise<void> {
|
public async storeImage(imageName: string, tarStream: plugins.smartstream.stream.Readable): Promise<void> {
|
||||||
const imagePath = plugins.path.join(this.options.dirPath, `${imageName}.tar`);
|
const imagePath = plugins.path.join(this.options.dirPath, `${imageName}.tar`);
|
||||||
|
|
||||||
// Create a write stream to store the tar file
|
// Create a write stream to store the tar file
|
||||||
|
Loading…
Reference in New Issue
Block a user