Skip to content

Commit

Permalink
feat(args): Add HBI DB args, fix typo in get_db_times
Browse files Browse the repository at this point in the history
  • Loading branch information
Smejky338 committed Aug 27, 2024
1 parent 2aa2f6f commit 08cacd8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions opl/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ def add_ros_db_opts(parser):
_add_generic_db_opts(parser, "ros")


def add_hbi_db_opts(parser):
_add_generic_db_opts(parser, "hbi")


def add_kafka_opts(parser):
parser.add_argument(
"--kafka-host",
Expand Down
2 changes: 1 addition & 1 deletion opl/get_db_times.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def _app_get_hosts(self, batch_hosts):
def work(self):
"""
1. Get host IDs from storage DB
2. Get timetamp from app DB
2. Get timestamp from app DB
3. Store timestamps in storage DB
4. Go to 1. until we have all hosts with their timestamps
"""
Expand Down

0 comments on commit 08cacd8

Please sign in to comment.