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
[Merged by Bors] - Relax mutability requirements of FluvioAdmin client #1179
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.
Is this backwards compatible or requires major bump?
I believe this is totally backwards compatible. Passing a let mut admin = fluvio.admin().await; // Warning: `admin` does not need to be mutable
admin.list::<TopicSpec>(vec![]).await?; |
Let me see how hard it's going to be to fix clippy (new lints from 1.53) |
Can you put 1.53 clippy fix as separate PR? |
a37d060
to
e8a838e
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.
LGTM. Nice improvement!
e8a838e
to
a6f59db
Compare
a6f59db
to
7d895c2
Compare
Should pass now that clippy fixes are merged. bors r+ |
Closes #1178. Will help to prevent bugs like infinyon/fluvio-client-wasm#42 - Changes `&mut self` to `&self` for `create`, `delete`, and `list` methods on `FluvioAdmin`.
Timed out. |
Dang, I think something wonky happened with the macos job and caused it to take a really long time. Let's see if that was a fluke. The workflow was like 2 minutes from being done when Bors timed out 😭 bors r+ |
Closes #1178. Will help to prevent bugs like infinyon/fluvio-client-wasm#42 - Changes `&mut self` to `&self` for `create`, `delete`, and `list` methods on `FluvioAdmin`.
Pull request successfully merged into master. Build succeeded: |
Closes #1178. Will help to prevent bugs like infinyon/fluvio-client-wasm#42
&mut self
to&self
forcreate
,delete
, andlist
methods onFluvioAdmin
.