mirror of
https://github.com/asabino2/dockerbackup.git
synced 2026-09-24 06:36:59 +00:00
adiciona parâmetro maxOkExitCode ao método runHelper para permitir códigos de saída personalizados
This commit is contained in:
@@ -597,7 +597,8 @@ class DockerService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async runHelper({ binds, cmd, onOutput }) { await this.ensureImage();
|
async runHelper({ binds, cmd, onOutput, maxOkExitCode = 0 }) {
|
||||||
|
await this.ensureImage();
|
||||||
|
|
||||||
const container = await this.docker.createContainer({
|
const container = await this.docker.createContainer({
|
||||||
Image: this.helperImage,
|
Image: this.helperImage,
|
||||||
|
|||||||
Reference in New Issue
Block a user