mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 14:24:39 +00:00
Chase case change in the function name now that GenerateUUID is an
exported function.
This commit is contained in:
parent
088e3ee26b
commit
be205b8ed0
@ -1,12 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
grep generateUUID consul/state/state_store.go
|
grep GenerateUUID consul/state/state_store.go
|
||||||
RESULT=$?
|
RESULT=$?
|
||||||
if [ $RESULT -eq 0 ]; then
|
if [ $RESULT -eq 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
grep generateUUID consul/fsm.go
|
grep GenerateUUID consul/fsm.go
|
||||||
RESULT=$?
|
RESULT=$?
|
||||||
if [ $RESULT -eq 0 ]; then
|
if [ $RESULT -eq 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -5,10 +5,10 @@ setlocal
|
|||||||
if not exist %1\consul\state\state_store.go exit /B 1
|
if not exist %1\consul\state\state_store.go exit /B 1
|
||||||
if not exist %1\consul\fsm.go exit /B 1
|
if not exist %1\consul\fsm.go exit /B 1
|
||||||
|
|
||||||
findstr /R generateUUID %1\consul\state\state_store.go 1>nul
|
findstr /R GenerateUUID %1\consul\state\state_store.go 1>nul
|
||||||
if not %ERRORLEVEL% EQU 1 exit /B 1
|
if not %ERRORLEVEL% EQU 1 exit /B 1
|
||||||
|
|
||||||
findstr generateUUID %1\consul\fsm.go 1>nul
|
findstr GenerateUUID %1\consul\fsm.go 1>nul
|
||||||
if not %ERRORLEVEL% EQU 1 exit /B 1
|
if not %ERRORLEVEL% EQU 1 exit /B 1
|
||||||
|
|
||||||
exit /B 0
|
exit /B 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user