Skip to content

Commit

Permalink
Fixed namespacify logic, reverted to nightly build
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
  • Loading branch information
aaronchongth committed Jan 7, 2025
1 parent 891cd55 commit 69195fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
name: nightly

# on:
# schedule:
# # 2am SGT
# - cron: '0 18 * * *'

on: [push]
on:
schedule:
# 2am SGT
- cron: '0 18 * * *'

jobs:
build-minimal-nav2-docker-images:
Expand Down
3 changes: 1 addition & 2 deletions free_fleet/free_fleet/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ def namespacify(base_name: str, namespace: str, delimiter: str = '/') -> str:
If no namespace is provided, returns the base_name. Otherwise, naively
prefixes the base_name with namespace and delimiter, returning the result.
"""
return f'{namespace}{delimiter}{base_name}' if not namespace \
else base_name
return base_name if not namespace else f'{namespace}{delimiter}{base_name}'


def make_nav2_cancel_all_goals_request() -> ActionMsgs_CancelGoal_Request:
Expand Down

0 comments on commit 69195fe

Please sign in to comment.