File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 55#### Fixes
66* REST-based resources are now coerced to string values to uniformly compare user defined values and Elasticsearch API responses.
77* Resolve deprecation warnings related to use of the deprecated is_array() function.
8+ * Resolve deprecation warnings related to use of the deprecated is_string() function.
89
910## 6.3.0 (June 18, 2018)
1011
Original file line number Diff line number Diff line change 5959 Optional[Enum[' shield' , ' x-pack' ]] $security_plugin = $elasticsearch::security_plugin,
6060 Boolean $validate_tls = $elasticsearch::validate_tls,
6161) {
62- if $content != undef and is_string( $content ) {
62+ if $content =~ String {
6363 $_content = parsejson($content )
6464 } else {
6565 $_content = $content
Original file line number Diff line number Diff line change 6666 Optional[String] $source = undef ,
6767 Boolean $validate_tls = $elasticsearch::validate_tls,
6868) {
69- if $content != undef and is_string( $content ) {
69+ if $content =~ String {
7070 $_content = parsejson($content )
7171 } else {
7272 $_content = $content
You can’t perform that action at this time.
0 commit comments