Commit e3264244 authored by Natalia Grigoriadou's avatar Natalia Grigoriadou
Browse files

fixed lint errors

parent 061b01a6
Loading
Loading
Loading
Loading
+3 −5
Changes for mcp_module/tools/edge_application.py: 3 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -43,15 +43,13 @@ def _derive_app_name(image_path: str) -> str:
    unique_id = uuid4().hex[:8]
    return f"{base_name}-{unique_id}"


def get_edge_service_url() -> str:
    root_url = os.getenv("OEG_SERVICE_URL")
    if not root_url:
        raise EnvironmentError("OEG_SERVICE_URL environment variable is not set")
        raise OSError("OEG_SERVICE_URL environment variable is not set")

    return (
        f"{root_url.rstrip('/')}"
        "/edge-application-management/v0.1alpha1"
    )
    return f"{root_url.rstrip('/')}/edge-application-management/v0.1alpha1"


async def get_app_definitions() -> dict: