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

ui: Ensure blocking query configuration is passed through to findInstanceBySlug #7543

Merged
merged 2 commits into from
Mar 30, 2020

Conversation

johncowen
Copy link
Contributor

Due to the addition of namespace support, this arguments passed to this
method have been increased. Whilst the nspace support continues to work
here, the configuration for blocking queries is never passed through.
This results in a 2 second poll on the service instance detail page, rather than a blocking query.

This commit fixes that.

I added a test similar to #7378

John Cowen added 2 commits March 30, 2020 11:48
Due to the addition of namespace support, this arguments passed to this
method have been increased. Whilst the nspace support continues ot work
here, the configuration for blocking queries is never passed through.
This results in a 2 second poll rather than a blocking query.

This commit fixes that
@johncowen johncowen added the theme/ui Anything related to the UI label Mar 30, 2020
@johncowen johncowen requested a review from a team March 30, 2020 12:07
Copy link
Contributor

@kaxcode kaxcode left a comment

Choose a reason for hiding this comment

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

LGTM

@johncowen johncowen merged commit 31b9b90 into master Mar 30, 2020
@johncowen johncowen deleted the ui/bugfix/service-instance-blocking branch March 30, 2020 14:23
hashicorp-ci pushed a commit that referenced this pull request Mar 30, 2020
…anceBySlug (#7543)

* ui: Ensure configuration is passed through to findInstanceBySlug

Due to the addition of namespace support, this arguments passed to this
method have been increased. Whilst the nspace support continues ot work
here, the configuration for blocking queries is never passed through.
This results in a 2 second poll rather than a blocking query.

This commit fixes that

* ui: Add a basic test to check the number of arguments passed through
@johncowen johncowen added this to the 1.7.x milestone Apr 7, 2020
@johncowen johncowen modified the milestones: 1.7.x, 1.7.3 Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/ui Anything related to the UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants