-
Notifications
You must be signed in to change notification settings - Fork 3
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
Standardize watcher Download() interface #868
Conversation
Fixes #868 - Update existing watcher Download() method and interface signatures to take a destination filepath (string) instead of an io.Writer stream - Add a `filewatcher.Download()` method - Create a `minio.Download()` method and move implementation specific code from `serviceImpl.Download()` to it - Update mocks
9cb1f5e
to
0a39488
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #868 +/- ##
==========================================
+ Coverage 45.99% 47.23% +1.23%
==========================================
Files 94 94
Lines 5061 5087 +26
==========================================
+ Hits 2328 2403 +75
+ Misses 2531 2462 -69
- Partials 202 222 +20 ☔ View full report in Codecov by Sentry. |
696bb2e
to
0478086
Compare
@djjuhasz I think that you're environment is somehow still using an old version of mockgen. Using bash:
Not sure what's going on. Maybe you're using a version of mockgen installed globally, but that shouldn't happen afaik. You could try this:
That would force mockgen to be downloaded again when running: |
@sevein I forgot to do the |
faef6e3
to
72b2994
Compare
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.
👍
e934211
to
983284e
Compare
Refs #867 - Update the existing watcher `Download()` method and interface signatures to take a destination filepath (string) instead of an `io.Writer` stream - Add a `filewatcher.Download()` method - Create a `minio.Download()` method and move implementation specific code from `serviceImpl.Download()` to it - Add `MinioConfig.URL` field to set bucket config by URL for testing - Add unit tests - Update mocks
983284e
to
21095e5
Compare
Refs #867
filewatcher.Download()
methodminio.Download()
method and move implementation specific code fromserviceImpl.Download()
to it