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

Fix clippy CI error in coredb-cli #290

Merged
merged 5 commits into from
Apr 27, 2023
Merged

Fix clippy CI error in coredb-cli #290

merged 5 commits into from
Apr 27, 2023

Conversation

ianstanton
Copy link
Contributor

It looks like a clippy error has arisen as we've udpated rust version in CI. This should resolve the issue.

@aws-amplify-us-east-1
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-290.d3q0v4ajtiq4fs.amplifyapp.com

@ianstanton
Copy link
Contributor Author

@sjmiller609 To be honest I'm not sure this is the right solution. I don't think I fully understand the clippy error.

.arg("sample-db");
cmd.assert()
.stdout(predicate::str::contains("kind: CoreDB"));

let mut cmd = Command::cargo_bin(CARGO_BIN)?;
cmd.arg("create")
.arg("--dry-run")
.arg("--resource-type")
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a way to fix without changing the CLI syntax?

@ianstanton
Copy link
Contributor Author

@sjmiller609 it looks like it was a derive bug resolved in a later version of clap clap-rs/clap#4733. Removed the previous changes and just updated the crate :)

@ianstanton ianstanton merged commit 6dfc37c into main Apr 27, 2023
@ianstanton ianstanton deleted the fix-clippy-cli branch April 27, 2023 14:46
sjmiller609 pushed a commit that referenced this pull request Dec 5, 2023
sjmiller609 added a commit that referenced this pull request Dec 5, 2023
* conductor: log the restartedAt annotation being set

* operator: log change in `restartedAt`

* Update conductor/src/lib.rs

---------

Co-authored-by: Steven Miller <sjmiller609@gmail.com>
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