Skip to content

Commit

Permalink
remove skip migrate and remove keyword suffix
Browse files Browse the repository at this point in the history
Signed-off-by: Lin Wang <[email protected]>
  • Loading branch information
wanglam committed Oct 9, 2023
1 parent 22154ef commit 354d1af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ function getClauseForWorkspace(workspace: string) {

return {
bool: {
must: [{ term: { 'workspaces.keyword': workspace } }],
must: [{ term: { workspaces: workspace } }],
},
};
}
Expand Down Expand Up @@ -297,7 +297,7 @@ export function getQueryParams({
if (ACLSearchParams.workspaces) {
shouldClause.push({
terms: {
'workspaces.keyword': ACLSearchParams.workspaces,
workspaces: ACLSearchParams.workspaces,
},
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ describe('WorkspaceSavedObjectsClientWrapper', () => {
workspace: {
enabled: true,
},
migrations: { skip: false },
},
},
});
Expand Down

0 comments on commit 354d1af

Please sign in to comment.