mirror of https://github.com/vacp2p/wakurtosis.git
Remove unused imports
This commit is contained in:
parent
600c9e9693
commit
8bbabafe98
|
@ -2,13 +2,11 @@
|
||||||
vars = import_module("github.com/logos-co/wakurtosis/src/system_variables.star")
|
vars = import_module("github.com/logos-co/wakurtosis/src/system_variables.star")
|
||||||
|
|
||||||
# Module Imports
|
# Module Imports
|
||||||
waku = import_module(vars.WAKU_MODULE)
|
|
||||||
prometheus = import_module(vars.PROMETHEUS_MODULE)
|
prometheus = import_module(vars.PROMETHEUS_MODULE)
|
||||||
grafana = import_module(vars.GRAFANA_MODULE)
|
grafana = import_module(vars.GRAFANA_MODULE)
|
||||||
args_parser = import_module(vars.ARGUMENT_PARSER_MODULE)
|
args_parser = import_module(vars.ARGUMENT_PARSER_MODULE)
|
||||||
wls = import_module(vars.WLS_MODULE)
|
wls = import_module(vars.WLS_MODULE)
|
||||||
nodes = import_module(vars.NODE_BUILDERS_MODULE)
|
nodes = import_module(vars.NODE_BUILDERS_MODULE)
|
||||||
nomos = import_module(vars.NOMOS_MODULE)
|
|
||||||
|
|
||||||
|
|
||||||
def run(plan, args):
|
def run(plan, args):
|
||||||
|
|
|
@ -147,12 +147,12 @@ def instantiate_services(plan, network_topology, testing):
|
||||||
all_services_information = plan.add_services(
|
all_services_information = plan.add_services(
|
||||||
configs = all_services
|
configs = all_services
|
||||||
)
|
)
|
||||||
services_information = add_service_information(plan, all_services_information, network_topology)
|
services_information = add_services_information(plan, all_services_information, network_topology)
|
||||||
|
|
||||||
return services_information
|
return services_information
|
||||||
|
|
||||||
|
|
||||||
def add_service_information(plan, all_services_information, network_topology):
|
def add_services_information(plan, all_services_information, network_topology):
|
||||||
new_services_information = {}
|
new_services_information = {}
|
||||||
|
|
||||||
for service_name in all_services_information:
|
for service_name in all_services_information:
|
||||||
|
@ -192,7 +192,7 @@ service_dispatcher = {
|
||||||
connect_peers = waku.connect_wakunode_to_peers
|
connect_peers = waku.connect_wakunode_to_peers
|
||||||
),
|
),
|
||||||
"nim-waku": struct(
|
"nim-waku": struct(
|
||||||
prepare_service = prepare_gowaku_service,
|
prepare_service = prepare_nwaku_service,
|
||||||
add_service_information = _add_waku_service_information,
|
add_service_information = _add_waku_service_information,
|
||||||
create_id = waku.create_waku_id,
|
create_id = waku.create_waku_id,
|
||||||
connect_peers = waku.connect_wakunode_to_peers
|
connect_peers = waku.connect_wakunode_to_peers
|
||||||
|
|
Loading…
Reference in New Issue