mirror of
https://github.com/louislam/dockge.git
synced 2025-02-26 13:35:57 +00:00
Compare commits
2 commits
deeaf2eb48
...
db71bf2e62
Author | SHA1 | Date | |
---|---|---|---|
|
db71bf2e62 | ||
|
7f670e16af |
1 changed files with 1 additions and 1 deletions
|
@ -445,7 +445,7 @@ export class Stack {
|
||||||
|
|
||||||
async update(socket: DockgeSocket) {
|
async update(socket: DockgeSocket) {
|
||||||
const terminalName = getComposeTerminalName(socket.endpoint, this.name);
|
const terminalName = getComposeTerminalName(socket.endpoint, this.name);
|
||||||
let exitCode = await Terminal.exec(this.server, socket, terminalName, "docker", [ "compose", "pull" ], this.path);
|
let exitCode = await Terminal.exec(this.server, socket, terminalName, "docker", [ "compose", "pull", "--policy", "missing" ], this.path);
|
||||||
if (exitCode !== 0) {
|
if (exitCode !== 0) {
|
||||||
throw new Error("Failed to pull, please check the terminal output for more information.");
|
throw new Error("Failed to pull, please check the terminal output for more information.");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue