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

Improve error message texts #571

Merged
merged 5 commits into from
May 9, 2024
Merged

Conversation

Abdulbois
Copy link
Collaborator

No description provided.

Signed-off-by: Abdulbois <abdulbois.tursunov@dsr-corporation.com>
Signed-off-by: Abdulbois <abdulbois123@gmail.com>
Signed-off-by: Abdulbois <abdulbois.tursunov@dsr-corporation.com>
Signed-off-by: Abdulbois <abdulbois123@gmail.com>
# Conflicts:
#	x/pki/keeper/msg_server_remove_noc_x_509_root_cert.go
@@ -55,18 +71,18 @@ func (k msgServer) RemoveNocX509RootCert(goCtx context.Context, msg *types.MsgRe
k.removeApprovedX509Cert(ctx, certID, &aprCerts, msg.SerialNumber)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we use nocCerts variable instead of aprCerts?

@@ -64,14 +75,14 @@ func (k msgServer) RemoveNocX509IcaCert(goCtx context.Context, msg *types.MsgRem
k.removeApprovedX509Cert(ctx, certID, &aprCerts, msg.SerialNumber)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we use icaCerts variable instead of aprCerts?

Fix bug related to error messages while removing NOC certificates

Signed-off-by: Abdulbois <abdulbois.tursunov@dsr-corporation.com>
Signed-off-by: Abdulbois <abdulbois123@gmail.com>
@Abdulbois Abdulbois force-pushed the improve-error-message-texts branch from 1f31b92 to e50f3df Compare May 8, 2024 15:10
@Abdulbois Abdulbois merged commit dd98906 into master May 9, 2024
8 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