Skip to content

Commit a44d6cc

Browse files
committed
Re-phrase error message
1 parent ff0daa5 commit a44d6cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/packages/packages.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ func ReadTransformDefinitionFile(transformPath, packageRootPath string) ([]byte,
436436
t, err := template.New(filepath.Base(transformPath)).Funcs(template.FuncMap{
437437
"ingestPipelineName": func(pipelineName string) (string, error) {
438438
if pipelineName == "" {
439-
return "", fmt.Errorf("ingest pipeline name is not defined")
439+
return "", fmt.Errorf("ingest pipeline name is empty")
440440
}
441441
return fmt.Sprintf("%s-%s", manifest.Version, pipelineName), nil
442442
},

0 commit comments

Comments
 (0)