Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(otaclient): print out ecu_info.yaml on otaclient starts up #304

Merged
merged 2 commits into from
May 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions otaclient/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

from .common import read_str_from_file, write_str_to_file_sync
from .configs import config as cfg
from .configs import 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 +55,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
Loading