-
Notifications
You must be signed in to change notification settings - Fork 55
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
Support timer duration as preference over firingTimestamp for timerCommand #393
Conversation
longquanzheng
commented
May 30, 2024
•
edited
Loading
edited
f9bbbd3
to
90033e4
Compare
timerCommands = append(timerCommands, iwfidl.TimerCommand{ | ||
CommandId: cmd.CommandId, | ||
FiringUnixTimestampSeconds: cmd.FiringUnixTimestampSeconds, | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe there's a technical reason for this but why don't we just append the original cmd
here (like timerCommands = append(timerCommands, cmd)
)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I think that's simpler to do that. Thanks for pointing it out :D