Skip to content

Commit

Permalink
[Enterprise Search] fix ml pipeline name help text (#141311) (#141325)
Browse files Browse the repository at this point in the history
Reverted the help text to use `ml-inference-` as the name prefix since
we decided to not include the index name in the pipeline name. This will
make it easier to re-use pipelines in future releases.

Co-authored-by: Kibana Machine <[email protected]>
(cherry picked from commit 2eb17e8)

Co-authored-by: Rodney Norris <[email protected]>
  • Loading branch information
kibanamachine and TattdCodeMonkey authored Sep 22, 2022
1 parent 9e8d668 commit c9389d4
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { MLInferenceLogic } from './ml_inference_logic';

export const ConfigurePipeline: React.FC = () => {
const {
addInferencePipelineModal: { configuration, indexName },
addInferencePipelineModal: { configuration },
formErrors,
supportedMLModels,
sourceFields,
Expand Down Expand Up @@ -78,10 +78,7 @@ export const ConfigurePipeline: React.FC = () => {
'xpack.enterpriseSearch.content.indices.pipelines.addInferencePipelineModal.steps.configure.name.helpText',
{
defaultMessage:
'Pipeline names can only contain letters, numbers, underscores, and hyphens. The pipeline name will be automatically prefixed with "ml-inference@{indexName}-".',
values: {
indexName,
},
'Pipeline names can only contain letters, numbers, underscores, and hyphens. The pipeline name will be automatically prefixed with "ml-inference-".',
}
)
}
Expand Down

0 comments on commit c9389d4

Please sign in to comment.