From d003f137922826a711bac381c93033acf3584959 Mon Sep 17 00:00:00 2001 From: David Reiss Date: Tue, 26 Jul 2022 22:49:06 -0700 Subject: [PATCH] shellcheck --- schema/elasticsearch/visibility/versioned/v3/upgrade.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/schema/elasticsearch/visibility/versioned/v3/upgrade.sh b/schema/elasticsearch/visibility/versioned/v3/upgrade.sh index 2d0008ba4746..9bb939ebca00 100755 --- a/schema/elasticsearch/visibility/versioned/v3/upgrade.sh +++ b/schema/elasticsearch/visibility/versioned/v3/upgrade.sh @@ -28,11 +28,6 @@ fi echo "=== Step 1. Add new builtin search attributes ===" -case $ES_VERSION in - v6) date_type='date' ; doc_type='/_doc' ;; - *) date_type='date_nanos' ; doc_type='' ;; -esac - new_mapping=' { "properties": {