From 397ebcc052110f9d3db1d312fc28b38c8530377e Mon Sep 17 00:00:00 2001 From: Owais Kazi Date: Wed, 14 Sep 2022 10:31:23 -0700 Subject: [PATCH] Removed Github DCO action since DCO runs via Github App now (#664) Signed-off-by: Owais Kazi --- .github/workflows/dco.yml | 18 ------------------ .../org/opensearch/ad/NodeStateManager.java | 2 +- .../org/opensearch/ad/util/IndexUtils.java | 2 +- 3 files changed, 2 insertions(+), 20 deletions(-) delete mode 100644 .github/workflows/dco.yml diff --git a/.github/workflows/dco.yml b/.github/workflows/dco.yml deleted file mode 100644 index 53ed5304c..000000000 --- a/.github/workflows/dco.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: Developer Certificate of Origin Check - -on: [pull_request] - -jobs: - check: - runs-on: ubuntu-latest - - steps: - - name: Get PR Commits - id: 'get-pr-commits' - uses: tim-actions/get-pr-commits@v1.1.0 - with: - token: ${{ secrets.GITHUB_TOKEN }} - - name: DCO Check - uses: tim-actions/dco@v1.1.0 - with: - commits: ${{ steps.get-pr-commits.outputs.commits }} \ No newline at end of file diff --git a/src/main/java/org/opensearch/ad/NodeStateManager.java b/src/main/java/org/opensearch/ad/NodeStateManager.java index 50bd731c5..a127f311c 100644 --- a/src/main/java/org/opensearch/ad/NodeStateManager.java +++ b/src/main/java/org/opensearch/ad/NodeStateManager.java @@ -71,7 +71,7 @@ public class NodeStateManager implements MaintenanceState, CleanState { /** * Constructor * - * @param client Client to make calls to ElasticSearch + * @param client Client to make calls to OpenSearch * @param xContentRegistry ES named content registry * @param settings ES settings * @param clientUtil AD Client utility diff --git a/src/main/java/org/opensearch/ad/util/IndexUtils.java b/src/main/java/org/opensearch/ad/util/IndexUtils.java index 4c11fa02c..b69c0924a 100644 --- a/src/main/java/org/opensearch/ad/util/IndexUtils.java +++ b/src/main/java/org/opensearch/ad/util/IndexUtils.java @@ -51,7 +51,7 @@ public class IndexUtils { /** * Inject annotation required by Guice to instantiate EntityResultTransportAction (transitive dependency) * - * @param client Client to make calls to ElasticSearch + * @param client Client to make calls to OpenSearch * @param clientUtil AD Client utility * @param clusterService ES ClusterService * @param indexNameExpressionResolver index name resolver