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

feat: fetch cloud_store info in zapi via plugin #2094

Merged
merged 5 commits into from
May 17, 2023
Merged

Conversation

Hardikl
Copy link
Contributor

@Hardikl Hardikl commented May 16, 2023

image

@cla-bot cla-bot bot added the cla-signed label May 16, 2023
@Hardikl Hardikl linked an issue May 16, 2023 that may be closed by this pull request
data := dataMap[a.Object]

// invoke aggr-object-store-get-iter zapi and populate cloud stores info
if err := a.getCloudStores(); err != nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

return if error

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Would not be. As it's addition of label in aggregate object, even if this call failed or no response or 0 records, aggr_labels should show data.

@rahulguptajss rahulguptajss merged commit c6446fc into main May 17, 2023
@rahulguptajss rahulguptajss deleted the hl_fcvi_change branch May 17, 2023 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Aggregate label "cloud_stores" is not collected via ZAPI
2 participants