Fixes up verify_no_uuid checks for new path.
This commit is contained in:
parent
37da1faaf2
commit
76840d0385
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
grep generateUUID consul/state_store.go
|
||||
grep generateUUID consul/state/state_store.go
|
||||
RESULT=$?
|
||||
if [ $RESULT -eq 0 ]; then
|
||||
exit 1
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
|
||||
setlocal
|
||||
|
||||
if not exist %1\consul\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
|
||||
|
||||
findstr /R generateUUID %1\consul\state_store.go 1>nul
|
||||
findstr /R generateUUID %1\consul\state\state_store.go 1>nul
|
||||
if not %ERRORLEVEL% EQU 1 exit /B 1
|
||||
|
||||
findstr generateUUID %1\consul\fsm.go 1>nul
|
||||
|
|
Loading…
Reference in New Issue