Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-sb-devops
Commits
f1182e17
Commit
f1182e17
authored
5 years ago
by
kaliraja
Committed by
SMY ALTAMASH
5 years ago
Browse files
Options
Download
Patches
Plain Diff
DO-1273 fixed the esmapping issue (#686)
parent
d106e19d
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ansible/static-files/elasticsearch_mapping.sh
+2
-1
ansible/static-files/elasticsearch_mapping.sh
with
2 additions
and
1 deletion
+2
-1
ansible/static-files/elasticsearch_mapping.sh
+
2
−
1
View file @
f1182e17
...
...
@@ -20,7 +20,8 @@ done
echo
"#################################################"
cd
../mappings
mapping_files
=
$(
ls
-l
|
awk
'NR>1{print $9}'
|
awk
-F
"-"
'{print $1}'
|
tr
"
\n
"
" "
)
#mapping_files=$(ls -l | awk 'NR>1{print $9}' | awk -F"-" '{print $1}' | tr "\n" " ")
mapping_files
=
$(
ls
-l
|
awk
'NR>1{print $9}'
|
awk
-F
"."
'{print $1}'
|
tr
"
\n
"
" "
|
sed
's/-mapping//g'
)
for
file
in
${
mapping_files
[@]
}
do
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets