-
Notifications
You must be signed in to change notification settings - Fork 8
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
CSM Replication Support For PowerScale #18
Conversation
p := &Policies{} | ||
err = client.Get(ctx, policiesPath, name, nil, nil, &p) | ||
if err != nil || len(p.Policy) == 0 { | ||
return nil, err |
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.
In a scenario where err is nil and len(p.Policy)==0 , we will be sending nil, nil essentially.
May be we can consider creating an err and returning it.
Need to rebase again, this PR shows changes that are already merged. |
e1a5804
to
2bec035
Compare
2bec035
to
67f809d
Compare
@IliaRN can you check few comments ? post addressing that we can merge this PR. |
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
@randeepsharma is rebase is done for this PR ? |
Yes |
PR Submission checklist
GitHub Issues
List the GitHub issues impacted by this PR:
Common PR Checklist:
Description of your changes:
This PR addresses an issue with CSM Replication Support For PowerScale. Added initial replication code and DeletePolicy method.