Skip to content

Pass record to command #5028

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

Closed
wants to merge 1 commit into from

Conversation

stsewd
Copy link
Member

@stsewd stsewd commented Dec 21, 2018

This is required bc of #5019. The start_time var is initialized inside the run method, when saving the command for first time in #5019 we don't have a start_time yet. With this change, the record command takes the responsibility of saving and updating itself.

(I'll need to modify #5019 to save before the command execution and update at the end)

Another solution would be to initialize the start_time var inside the init method, but I think this should live inside the run method.

@stsewd stsewd requested a review from a team December 21, 2018 00:58
@stale
Copy link

stale bot commented Feb 4, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Status: stale Issue will be considered inactive soon label Feb 4, 2019
@stale stale bot closed this Feb 11, 2019
@ericholscher ericholscher added the Accepted Accepted issue on our roadmap label Feb 11, 2019
@ericholscher ericholscher reopened this Feb 11, 2019
@stale stale bot removed the Status: stale Issue will be considered inactive soon label Feb 11, 2019
@stsewd
Copy link
Member Author

stsewd commented Apr 11, 2019

Closing this as it's only needed in #5019

@stsewd stsewd closed this Apr 11, 2019
@stsewd stsewd deleted the record-inside-command branch April 11, 2019 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted Accepted issue on our roadmap
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants