Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion install_scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "splight-agent"
version = "0.9.0"
venvversion = "0.9.1"
description = ""
authors = ["Splight <splight-dev@splight-ae.com>"]
readme = "README.md"
Expand Down
15 changes: 9 additions & 6 deletions src/splight_agent/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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

Expand Down
Loading