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

delete TRANSITION_SHUTDOWN #46

Merged
merged 2 commits into from
Nov 1, 2018
Merged

delete TRANSITION_SHUTDOWN #46

merged 2 commits into from
Nov 1, 2018

Conversation

Karsten1987
Copy link
Contributor

fixes ros2/rcl#309

@Karsten1987 Karsten1987 added the in review Waiting for review (Kanban column) label Oct 30, 2018
@Karsten1987 Karsten1987 self-assigned this Oct 30, 2018
Copy link
Member

@dirk-thomas dirk-thomas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make sense to renumber the constants?

@Karsten1987
Copy link
Contributor Author

@dirk-thomas Any recommendations for it? Do have specific numbering in mind?

uint8 TRANSITION_SHUTDOWN = 5
uint8 TRANSITION_UNCONFIGURED_SHUTDOWN = 50
uint8 TRANSITION_INACTIVE_SHUTDOWN = 51
uint8 TRANSITION_ACTIVE_SHUTDOWN = 52
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe 5 - 7 for the new transitions and bumping TRANSITION_DESTROY to 8?

@@ -34,9 +36,6 @@ uint8 TRANSITION_ON_DEACTIVATE_SUCCESS = 40
uint8 TRANSITION_ON_DEACTIVATE_FAILURE = 41
uint8 TRANSITION_ON_DEACTIVATE_ERROR = 42

uint8 TRANSITION_UNCONFIGURED_SHUTDOWN = 50
uint8 TRANSITION_INACTIVE_SHUTDOWN = 51
uint8 TRANSITION_ACTIVE_SHUTDOWN = 52
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe 50 - 52 for the remaining on-shutdown transitions?

@Karsten1987
Copy link
Contributor Author

@dirk-thomas does that look correct to you?

@Karsten1987 Karsten1987 merged commit 852a37b into master Nov 1, 2018
@Karsten1987 Karsten1987 removed the in review Waiting for review (Kanban column) label Nov 1, 2018
@Karsten1987 Karsten1987 deleted the lifecycle_cleanup branch November 1, 2018 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove lifecycle_service_client_py.py; it is deprecated and no longer works correctly
2 participants