Skip to content

Commit

Permalink
mappings: change "dynamic" values to string
Browse files Browse the repository at this point in the history
- The mapping is stored as a string/enum in ES/OS. Using the same type
  makes sure the mapping comparison is correct when performing a
  mapping update.
  • Loading branch information
slint committed Feb 27, 2024
1 parent ea42a00 commit 32250a5
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

"created_by": {
"type": "object",
"dynamic": true
"dynamic": "true"
},
"id": {
"type": "keyword"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,15 @@
},
"created_by": {
"type": "object",
"dynamic": true
"dynamic": "true"
},
"topic": {
"type": "object",
"dynamic": true
"dynamic": "true"
},
"receiver": {
"type": "object",
"dynamic": true
"dynamic": "true"
},
"grants": {
"type": "keyword"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

"created_by": {
"type": "object",
"dynamic": true
"dynamic": "true"
},
"id": {
"type": "keyword"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,15 @@
},
"created_by": {
"type": "object",
"dynamic": true
"dynamic": "true"
},
"topic": {
"type": "object",
"dynamic": true
"dynamic": "true"
},
"receiver": {
"type": "object",
"dynamic": true
"dynamic": "true"
},
"grants": {
"type": "keyword"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

"created_by": {
"type": "object",
"dynamic": true
"dynamic": "true"
},
"id": {
"type": "keyword"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,15 @@
},
"created_by": {
"type": "object",
"dynamic": true
"dynamic": "true"
},
"topic": {
"type": "object",
"dynamic": true
"dynamic": "true"
},
"receiver": {
"type": "object",
"dynamic": true
"dynamic": "true"
},
"grants": {
"type": "keyword"
Expand Down

0 comments on commit 32250a5

Please sign in to comment.