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

made status of dags configurable #558

Merged
merged 5 commits into from
Apr 24, 2024
Merged

made status of dags configurable #558

merged 5 commits into from
Apr 24, 2024

Conversation

kriyanshii
Copy link
Contributor

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

Copy link
Collaborator

@yottahmd yottahmd left a 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) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

@yottahmd yottahmd merged commit 952b12d into dagu-org:main Apr 24, 2024
2 checks passed
@kriyanshii
Copy link
Contributor Author

thank you. i am sorry was not able to push changes

@yottahmd
Copy link
Collaborator

no problem 👍

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.

2 participants