Skip to content

Commit

Permalink
replace transport.no-transport checks for transport.disabled
Browse files Browse the repository at this point in the history
Signed-off-by: pstlouis <[email protected]>
  • Loading branch information
PatStLouis authored and ff137 committed Jun 25, 2024
1 parent 4408fba commit a1cc20c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions aries_cloudagent/core/conductor.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ async def setup(self):
):
LOGGER.warning("No ledger configured")

if not context.settings.get("transport.no_transport"):
if not context.settings.get("transport.disabled"):
# Register all inbound transports if enabled
self.inbound_transport_manager = InboundTransportManager(
self.root_profile, self.inbound_message_router, self.handle_not_returned
Expand All @@ -201,7 +201,7 @@ async def setup(self):
InboundTransportManager, self.inbound_transport_manager
)

if not context.settings.get("transport.no_transport"):
if not context.settings.get("transport.disabled"):
# Register all outbound transports
self.outbound_transport_manager = OutboundTransportManager(
self.root_profile, self.handle_not_delivered
Expand Down Expand Up @@ -288,7 +288,7 @@ async def start(self) -> None:
context = self.root_profile.context
await self.check_for_valid_wallet_type(self.root_profile)

if not context.settings.get("transport.no_transport"):
if not context.settings.get("transport.disabled"):
# Start up transports if enabled
try:
await self.inbound_transport_manager.start()
Expand Down Expand Up @@ -319,7 +319,7 @@ async def start(self) -> None:
# Get agent label
default_label = context.settings.get("default_label")

if context.settings.get("transport.no_transport"):
if context.settings.get("transport.disabled"):
LoggingConfigurator.print_banner(
default_label,
None,
Expand Down

0 comments on commit a1cc20c

Please sign in to comment.