Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
penghuo committed Nov 23, 2020
1 parent 2b4cd60 commit 0217e0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/sql-test-and-build-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,6 @@ jobs:
- name: Build with Gradle
run: ./gradlew build assemble

- name: Start SSH via Ngrok
if: ${{ failure() }}
run: curl -sL https://gist.githubusercontent.com/retyui/7115bb6acf151351a143ec8f96a7c561/raw/7099b9db76729dc5761da72aa8525f632d8875c9/debug-github-actions.sh | bash
env:
# After sign up on the https://ngrok.com/
# You can find this token here: https://dashboard.ngrok.com/get-started/setup
# NGROK_TOKEN: ${{ secrets.NGROK_TOKEN }}
NGROK_TOKEN: 1hElBP5625JEXGNyg3HEoFVFLSz_7jtbuwKpt9S1N9xVBLr9o

# This password you will use when authorizing via SSH
# USER_PASS: ${{ secrets.USER_PASS }}
USER_PASS: admin_123

- name: Don't kill instace
if: ${{ failure() }}
run: sleep 1h # Prevent to killing instance after failure

- name: Create Artifact Path
run: |
mkdir -p opendistro-sql-builds
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
package com.amazon.opendistroforelasticsearch.sql.ast.expression;

import com.amazon.opendistroforelasticsearch.sql.ast.AbstractNodeVisitor;
import com.amazon.opendistroforelasticsearch.sql.common.utils.StringUtils;
import java.util.Collections;
import java.util.List;
import lombok.EqualsAndHashCode;
Expand Down Expand Up @@ -57,6 +58,6 @@ public <R, C> R accept(AbstractNodeVisitor<R, C> nodeVisitor, C context) {

@Override
public String toString() {
return String.format("%s(%s)", funcName, field);
return StringUtils.format("%s(%s)", funcName, field);
}
}

0 comments on commit 0217e0f

Please sign in to comment.