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

chore: make query adapt to more scenario #8

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

jwcesign
Copy link
Contributor

Fixes #none

Proposed Changes

  • chore: make query adapt to more scenario

Release Note


Signed-off-by: jwcesign <jwcesign@cloudpilot.ai>
Copy link

gitautomator bot commented Oct 10, 2024

Thanks to your contribution, the maintainers will review it as soon as they can!

Run(ctx context.Context)
// Sync is used to sync the data manually if want to work with your own scheduling mechanism
Sync() error
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We can use .Sync to replace .TriggerRefreshData now

@helen-frank
Copy link
Contributor

/lgtm

@jwcesign jwcesign merged commit c551926 into cloudpilot-ai:main Oct 10, 2024
2 checks passed
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