-
-
Notifications
You must be signed in to change notification settings - Fork 161
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
made status of dags configurable #558
Conversation
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.
Thank you very much for submitting the pull request! I've added a comment; please let me know your thoughts on it.
@@ -307,9 +309,14 @@ func (store *Store) pattern(dagFile string) string { | |||
return filepath.Join(dir, p) | |||
} | |||
|
|||
func (store *Store) latestToday(dagFile string, day time.Time) (string, error) { |
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.
I think we can use the following method instead of modifying this one:
We can modify the following code to use the ReadStatusRecent
method according to the configuration:
thank you. i am sorry was not able to push changes |
no problem 👍 |
earlier it only show status of dags from that day, so when if I need to know latest status of dag irrespective of when did it ran last there is a variable defined in the config "latestStatusToday". If it is true, it will show latest status from that day, or it will show the latest status irrespective of when it ran