Skip to content

Commit

Permalink
update security workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Hailong Cui <[email protected]>
  • Loading branch information
Hailong-am committed Oct 16, 2023
1 parent f95bfe2 commit 22de490
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/security-notifications-test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ jobs:
if: env.imagePresent == 'true'
run: |
container_id=`docker ps -q`
plugins=`docker exec -it $container_id /usr/share/opensearch/bin/opensearch-plugin list`
plugins=`docker exec $container_id /usr/share/opensearch/bin/opensearch-plugin list`
echo "plugins: $plugins"
security =`echo $plugins | grep -c opensearch-security`
security=`echo $plugins | grep opensearch-security | wc -l`
if [ $security -gt 0 ]
then
echo "Security plugin is available"
Expand Down

0 comments on commit 22de490

Please sign in to comment.