Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Rename folder functions' arguments names to match Grafana API #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Rename folder functions' arguments names to match Grafana API #39

wants to merge 1 commit into from

Conversation

wybczu
Copy link
Contributor

@wybczu wybczu commented Feb 24, 2020

This PR renames id and name to uid and title in UpdateFolder and DeleteFolder methods.

It also sets overwrite to true when updating a folder - otherwise it's a noop as we don't provide the current version of the folder.

Copy link
Contributor

@tonglil tonglil left a comment

Choose a reason for hiding this comment

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

Thank you, this looks good to me.

Would you be able to add a new function and corresponding test for FolderByUid please?
https://grafana.com/docs/grafana/latest/http_api/folder/#get-folder-by-uid

If not, if you can resolve the conflict then we can merge it.

@tonglil tonglil added size/XS Denotes a PR that changes 0-9 lines waiting response Waiting for a response from the author bug Bugs or bug fixes labels Jun 3, 2020
@wybczu
Copy link
Contributor Author

wybczu commented Jul 1, 2020

Would you be able to add a new function and corresponding test for FolderByUid please?
https://grafana.com/docs/grafana/latest/http_api/folder/#get-folder-by-uid

Sure thing! I will update the PR this week.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Bugs or bug fixes size/XS Denotes a PR that changes 0-9 lines waiting response Waiting for a response from the author
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants