Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonelizabeth committed Dec 4, 2020
1 parent f1ea436 commit fd9f09b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x-pack/plugins/runtime_fields/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ interface Context {
* An array of existing concrete fields. If the user gives a name to the runtime
* field that matches one of the concrete fields, a callout will be displayed
* to indicate that this runtime field will shadow the concrete field.
* This array is also used to provide the list of field autocomplete suggestions to the * code editor
* This array is also used to provide the list of field autocomplete suggestions to the code editor
*/
existingConcreteFields?: Array<{
name: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ const mapReturnTypeToPainlessContext = (runtimeType: RuntimeType): PainlessConte
case 'boolean':
return 'boolean_script_field_script_field';
default:
return 'painless_test';
return 'string_script_field_script_field';
}
};

Expand Down

0 comments on commit fd9f09b

Please sign in to comment.