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

controller/replication: add UnimplementedError for getVolRepInfo() #295

Merged
merged 1 commit into from
Feb 7, 2023

Conversation

Rakshith-R
Copy link
Member

This commit adds code to handle UnimplmentedError from getVolumeReplicationInfo rpc. The controller wil now ignore this error and not requeue the request.

Fixes: #236

Signed-off-by: Rakshith R rar@redhat.com

Madhu-1
Madhu-1 previously approved these changes Feb 6, 2023
@@ -28,3 +31,13 @@ func GetErrorMessage(err error) string {

return s.Message()
}

// IsUmplementedError returns true if the error is Unimplemented error.
Copy link
Contributor

Choose a reason for hiding this comment

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

IsUmplementedError-> IsUnimplementedError

This commit adds code to handle UnimplmentedError from
getVolumeReplicationInfo rpc. The controller wil now
ignore this error and not requeue the request.

Fixes: csi-addons#236

Signed-off-by: Rakshith R <rar@redhat.com>
@mergify mergify bot dismissed Madhu-1’s stale review February 7, 2023 04:03

Pull request has been modified.

@mergify mergify bot merged commit 90f59d1 into csi-addons:main Feb 7, 2023
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.

Handle non implemented error for getVolumeReplicationInfo RPC
3 participants