Skip to content

Commit

Permalink
fix variable name
Browse files Browse the repository at this point in the history
Signed-off-by: zhangzujian <[email protected]>
  • Loading branch information
zhangzujian committed Dec 15, 2023
1 parent 8b7ffab commit 70ac3d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/images/ovn-healthcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ fi
# check nb/sb log file
function check_log_file() {
local log_file="/var/log/ovn/ovsdb-server-$1.log"
if [ -e $file ]; then
if [ -e $log_file ]; then
logs=$(tail -n 6 $log_file 2>/dev/null || true)
if echo $logs | grep 'does not match prerequisite' ; then
echo "raft inconsistency in $1 db was detected, please check $log_file for more details."
Expand Down

0 comments on commit 70ac3d2

Please sign in to comment.