github-actions[bot] commented on PR #14229:
URL: https://github.com/apache/doris/pull/14229#issuecomment-1312722414

   #### `sh-checker report`
   
   To get the full details, please check in the 
[job]("https://github.com/apache/doris/actions/runs/3455307639";) output.
   
   <details>
   <summary>shellcheck errors</summary>
   
   ```
   
   'shellcheck ' returned error 1 finding the following syntactical issues:
   
   ----------
   
   In docker/thirdparties/docker-compose/elasticsearch/scripts/es_init.sh line 
21:
   curl "http://${ES_6_HOST}:9200/test1"; -H "Content-Type:application/json" -X 
PUT -d "@/mnt/scripts/index/es6_test1.json"
                ^----------^ SC2154 (warning): ES_6_HOST is referenced but not 
assigned.
   
   
   In docker/thirdparties/docker-compose/elasticsearch/scripts/es_init.sh line 
34:
   curl "http://${ES_7_HOST}:9200/test1"; -H "Content-Type:application/json" -X 
PUT -d "@/mnt/scripts/index/es7_test1.json"
                ^----------^ SC2154 (warning): ES_7_HOST is referenced but not 
assigned.
   
   
   In docker/thirdparties/docker-compose/elasticsearch/scripts/es_init.sh line 
47:
   curl "http://${ES_8_HOST}:9200/test1"; -H "Content-Type:application/json" -X 
PUT -d "@/mnt/scripts/index/es7_test1.json"
                ^----------^ SC2154 (warning): ES_8_HOST is referenced but not 
assigned.
   
   For more information:
     https://www.shellcheck.net/wiki/SC2154 -- ES_6_HOST is referenced but not 
a...
   ----------
   
   You can address the above issues in one of three ways:
   1. Manually correct the issue in the offending shell script;
   2. Disable specific issues by adding the comment:
     # shellcheck disable=NNNN
   above the line that contains the issue, where NNNN is the error code;
   3. Add '-e NNNN' to the SHELLCHECK_OPTS setting in your .yml action file.
   
   
   
   ```
   </details>
   
   <details>
   <summary>shfmt errors</summary>
   
   ```
   
   'shfmt ' returned error 1 finding the following formatting issues:
   
   ----------
   --- docker/thirdparties/docker-compose/elasticsearch/scripts/es_init.sh.orig
   +++ docker/thirdparties/docker-compose/elasticsearch/scripts/es_init.sh
   ----------
   
   You can reformat the above files to meet shfmt's requirements by typing:
   
     shfmt  -w filename
   
   
   ```
   </details>
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to