Skip to content

Commit

Permalink
add test updates, fix mdsId
Browse files Browse the repository at this point in the history
Signed-off-by: Shenoy Pratik <[email protected]>
  • Loading branch information
ps48 committed Nov 6, 2024
1 parent 44fd785 commit 33c5efb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1306,6 +1306,7 @@ exports[`Panels View Component renders panel view container with visualizations
dslService={
DSLService {
"fetch": [Function],
"fetchFieldCaps": [Function],
"fetchFields": [Function],
"fetchIndices": [Function],
"fetchSettings": [Function],
Expand Down Expand Up @@ -1809,6 +1810,7 @@ exports[`Panels View Component renders panel view container with visualizations
dslService={
DSLService {
"fetch": [Function],
"fetchFieldCaps": [Function],
"fetchFields": [Function],
"fetchIndices": [Function],
"fetchSettings": [Function],
Expand Down Expand Up @@ -3672,6 +3674,7 @@ exports[`Panels View Component renders panel view container without visualizatio
dslService={
DSLService {
"fetch": [Function],
"fetchFieldCaps": [Function],
"fetchFields": [Function],
"fetchIndices": [Function],
"fetchSettings": [Function],
Expand Down Expand Up @@ -4173,6 +4176,7 @@ exports[`Panels View Component renders panel view container without visualizatio
dslService={
DSLService {
"fetch": [Function],
"fetchFieldCaps": [Function],
"fetchFields": [Function],
"fetchIndices": [Function],
"fetchSettings": [Function],
Expand Down
2 changes: 1 addition & 1 deletion public/components/trace_analytics/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export const Home = (props: HomeProps) => {

const fetchAttributesFields = () => {
coreRefs.dslService
?.fetchFieldCaps(getSpanIndices(mode), '*attributes*', dataSourceMDSId)
?.fetchFieldCaps(getSpanIndices(mode), '*attributes*', dataSourceMDSId[0].id)
.then((res) => {
const attributes = getAttributeFieldNames(res);
setAttributesFilterFields(attributes);
Expand Down

0 comments on commit 33c5efb

Please sign in to comment.