Skip to content
Snippets Groups Projects
Verified Commit e288e3f8 authored by Karel van Klink's avatar Karel van Klink :smiley_cat:
Browse files

update router import to use a PortNumber

parent f9022eb1
No related branches found
No related tags found
No related merge requests found
Pipeline #83920 failed
This commit is part of merge request !61. Comments created here will be created in the context of that merge request.
......@@ -11,7 +11,7 @@ from orchestrator.workflow import StepList, done, init, step
from orchestrator.workflows.steps import resync, set_status, store_process_subscription
from gso.products.product_blocks import router as router_pb
from gso.products.product_blocks.router import RouterRole, RouterVendor
from gso.products.product_blocks.router import PortNumber, RouterRole, RouterVendor
from gso.products.product_types import router
from gso.products.product_types.router import RouterInactive
from gso.services.crm import get_customer_by_name
......@@ -58,7 +58,7 @@ def initial_input_form_generator() -> FormGenerator:
def initialize_subscription(
subscription: RouterInactive,
hostname: str,
ts_port: int,
ts_port: PortNumber,
router_vendor: router_pb.RouterVendor,
router_site: str,
router_role: router_pb.RouterRole,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment