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

Cannot access Environment Metrics for Drives #371

Closed
simranjl opened this issue Oct 16, 2024 · 3 comments · Fixed by #373
Closed

Cannot access Environment Metrics for Drives #371

simranjl opened this issue Oct 16, 2024 · 3 comments · Fixed by #373

Comments

@simranjl
Copy link

Hello,
I'm facing an issue while attempting to access environment metrics for the Drive resource. It seems that there isn't an EnvironmentMetrics() function available for this resource. The only way to potentially access it is to obtain the value of the environmentMetrics key in the Drive struct and pass the link to the GetEnvironmentMetrics() function. Unfortunately, the 'environmentMetrics' in the struct is not an exported variable, making it inaccessible as well. I would greatly appreciate any assistance with resolving this issue. Thank you for your help!

@stmcginnis
Copy link
Owner

It looks like EnvironmentMetrics() just hasn't been added yet. I can try to get to that shortly. Just need to wrap up some current work, so it hopefully shouldn't be too long.

@simranjl
Copy link
Author

Sounds good. Thank you!

@stmcginnis
Copy link
Owner

Should now be able to go get github.com/stmcginnis/gofish@0cb0c9cbe86fca8efd4d258d837f9cd7dff28f05 to get access to this.

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 a pull request may close this issue.

2 participants