Add a handling for the null case when flattening over the map of settings, for example when initial_recovery = null after copying or recovering an index #1257
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pr | |
on: | |
pull_request: | |
paths-ignore: | |
- 'doc/**' | |
- 'docs/**' | |
- '*.md' | |
jobs: | |
scala-2_12: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout the repo | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 11 | |
- name: set up sbt | |
uses: sbt/setup-sbt@v1 | |
- name: Launch elastic docker | |
uses: ./.github/actions/launch-elasticsearch | |
- name: run tests | |
timeout-minutes: 30 | |
run: sbt ++2.12.20 test | |
scala-2_13: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout the repo | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 11 | |
- name: set up sbt | |
uses: sbt/setup-sbt@v1 | |
- name: Launch elastic docker | |
uses: ./.github/actions/launch-elasticsearch | |
- name: run tests | |
timeout-minutes: 30 | |
run: sbt ++2.13.15 test | |
scala-3: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout the repo | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 11 | |
- name: set up sbt | |
uses: sbt/setup-sbt@v1 | |
- name: Launch elastic docker | |
uses: ./.github/actions/launch-elasticsearch | |
- name: run tests | |
run: sbt ++3.3.4 elastic4s-scala3/test |