Skip to content

Commit

Permalink
otaclient.app: print out ecu_info.yaml on otaclient starts up
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodong-Yang committed May 16, 2024
1 parent 3c5fea7 commit c8253b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion otaclient/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from otaclient import __version__ # type: ignore

from .common import read_str_from_file, write_str_to_file_sync
from .configs import config as cfg
from .configs import config as cfg, ecu_info
from .log_setting import configure_logging
from .ota_client_service import launch_otaclient_grpc_server
from .proto import ota_metafiles, v2, v2_grpc, wrapper # noqa: F401
Expand Down Expand Up @@ -54,6 +54,7 @@ def _check_other_otaclient():
def main():
logger.info("started")
logger.info(f"otaclient version: {__version__}")
logger.info(f"ecu_info.yaml: \n{ecu_info}")

# start the otaclient grpc server
_check_other_otaclient()
Expand Down

0 comments on commit c8253b4

Please sign in to comment.