This commit is contained in:
2025-12-04 14:23:07 +01:00
parent ad5b61a44d
commit 0ab5e9627b
2 changed files with 61 additions and 9 deletions

View File

@@ -1,6 +1,7 @@
import os
from concurrent.futures import ThreadPoolExecutor
import json
import sys
import uuid
import shutil
import time
@@ -435,7 +436,8 @@ class Portainer:
self.stack_ids.append(s.get("Id"))
return s
raise ValueError(f"Stack not found: {stack}")
print(ValueError(f"Stack not found: {stack}"))
sys.exit(1)
def create_stack(
self,