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

Add support for "Forever" SLA in objectID #7

Open
drew-russell opened this issue Jan 9, 2019 · 0 comments
Open

Add support for "Forever" SLA in objectID #7

drew-russell opened this issue Jan 9, 2019 · 0 comments
Assignees

Comments

@drew-russell
Copy link
Contributor

What would you like to be added:

When the objectID object_type is sla we should add a check for forever or unprotected as the objectName. If detected, we should then return "UNPROTECTED" as the SLA ID

Code logic from Python SDK

if object_name.upper() == "FOREVER" or object_name.upper() == "UNPROTECTED":
                return "UNPROTECTED"

https://github.com/rubrikinc/rubrik-sdk-for-go/blob/devel/rubrikcdm/data_management.go#L70

Why is this needed:

Match full functionality of the GUI and allow support for unmanaged snapshots

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

No branches or pull requests

2 participants