Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Kyle Pollich <kpollich1@gmail.com>
  • Loading branch information
nchaulet and kpollich authored Jan 9, 2023
1 parent e0a6ce8 commit f294295
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ describe('experimental_datastream_features', () => {
expect(() =>
handleExperimentalDatastreamFeatureOptIn({ soClient, esClient, packagePolicy })
).rejects.toThrowError(
/Unable to enable Time-series indexing, at least one dimension fields need to be defined./
/Unable to enable time-series indexing, at least one dimension field needs to be defined./
);
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export async function handleExperimentalDatastreamFeatureOptIn({

if (routingPath.length === 0) {
throw new Error(
'Unable to enable Time-series indexing, at least one dimension fields need to be defined.'
'Unable to enable time-series indexing, at least one dimension field needs to be defined.'
);
}

Expand Down

0 comments on commit f294295

Please sign in to comment.