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

fix(http): create view #13448

Merged
merged 1 commit into from
May 13, 2019
Merged

fix(http): create view #13448

merged 1 commit into from
May 13, 2019

Conversation

kelwang
Copy link
Contributor

@kelwang kelwang commented Apr 16, 2019

Closes #13086

fixed the issue usingView, removed viewID, added more test coverage

  • CHANGELOG.md updated with a link to the PR (not the Issue)
  • Rebased/mergeable
  • Tests pass
  • http/swagger.yml updated (if modified Go structs or API)
  • Sign CLA (if not already signed)

@kelwang kelwang requested a review from a team as a code owner April 16, 2019 22:09
}
}
if req.Name != nil {
opts.View.Name = *req.Name
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the Name param supposed to describe the view name, or the dashboard name? The swagger says dashboard name.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should be the view's name, dashboard name is more like a parent thing like system dashboard. This name should be like cpu, memory, disk ...

Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@kelwang kelwang merged commit 8687cb8 into master May 13, 2019
@kelwang kelwang deleted the create_view_issue branch May 13, 2019 17:33
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 this pull request may close these issues.

InfluxDB 2.0: The view provided in the request is not used [area/api]
2 participants