diff --git a/install_scripts/install.sh b/install_scripts/install.sh index e90aa7a..73fa988 100755 --- a/install_scripts/install.sh +++ b/install_scripts/install.sh @@ -60,7 +60,7 @@ print_message "$ART_LOGO" SPLIGHT_HOME=$HOME/.splight CONFIG_FILE=$SPLIGHT_HOME/agent_config CONTAINER="splight-agent" -AGENT_VERSION="0.9.0" +AGENT_VERSION="0.9.1" RESTART_POLICY="unless-stopped" LOG_LEVEL=10 diff --git a/pyproject.toml b/pyproject.toml index a98fa24..af505c1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "splight-agent" -version = "0.9.0" +venvversion = "0.9.1" description = "" authors = ["Splight "] readme = "README.md" diff --git a/src/splight_agent/engine.py b/src/splight_agent/engine.py index 15e926b..bd9f193 100644 --- a/src/splight_agent/engine.py +++ b/src/splight_agent/engine.py @@ -35,13 +35,16 @@ class ComponentEnvironment(TypedDict): SPLIGHT_PLATFORM_API_HOST: str -class InvalidActionError(Exception): ... +class InvalidActionError(Exception): + ... -class ImageError(Exception): ... +class ImageError(Exception): + ... -class ContainerExecutionError(Exception): ... +class ContainerExecutionError(Exception): + ... class Engine: @@ -182,9 +185,9 @@ def _get_ports(self, instance: DeployableInstance) -> dict | None: if instance.instance_type == "server": ports = {} for port in instance.ports: - ports[f"{port.internal_port}/{port.protocol}"] = ( - port.exposed_port - ) + ports[ + f"{port.internal_port}/{port.protocol}" + ] = port.exposed_port return ports return None