-
Notifications
You must be signed in to change notification settings - Fork 891
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
[Discover] Remove Default Cluster #8778
[Discover] Remove Default Cluster #8778
Conversation
Signed-off-by: Sean Li <[email protected]>
type: 'DATA_SOURCE', | ||
})) | ||
); | ||
const dataSources: DataStructure[] = response.savedObjects |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will need to fast follow on checking if local cluster is available
Lets fast follow to allow local cluster to show up as well |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approving but we should add some logic to check and add if local datasource exists, and it should say local cluster, not default cluster when we do
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8778 +/- ##
=======================================
Coverage 60.75% 60.75%
=======================================
Files 3798 3798
Lines 90690 90690
Branches 14277 14277
=======================================
Hits 55101 55101
Misses 32090 32090
Partials 3499 3499
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Could we verify the source of the error. Is from the API and we should have fixed the response, or is it because we always need to have a data source if now. I would be surprised we are the only ones that ran into this issue. I thought it was save to assume if no data source Id then the default data source Is used.
Signed-off-by: Sean Li <[email protected]> (cherry picked from commit 92e0766) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Sean Li <[email protected]>
Description
Removes default cluster from index and S3 dataset types cluster lists
Issues Resolved
Screenshot
Testing the changes
Changelog
Check List
yarn test:jest
yarn test:jest_integration