From 8cb5b4dbeb663fa2bf6c6a9dd61d3cc929fdd0ed Mon Sep 17 00:00:00 2001 From: Sean Chittenden Date: Mon, 1 Feb 2016 22:48:59 -0800 Subject: [PATCH] Chase case change in the function name now that GenerateUUID is an exported function. --- scripts/verify_no_uuid.sh | 4 ++-- scripts/windows/verify_no_uuid.bat | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/verify_no_uuid.sh b/scripts/verify_no_uuid.sh index 5f67ef14d6..72ad7daf7a 100755 --- a/scripts/verify_no_uuid.sh +++ b/scripts/verify_no_uuid.sh @@ -1,12 +1,12 @@ #!/bin/bash -grep generateUUID consul/state/state_store.go +grep GenerateUUID consul/state/state_store.go RESULT=$? if [ $RESULT -eq 0 ]; then exit 1 fi -grep generateUUID consul/fsm.go +grep GenerateUUID consul/fsm.go RESULT=$? if [ $RESULT -eq 0 ]; then exit 1 diff --git a/scripts/windows/verify_no_uuid.bat b/scripts/windows/verify_no_uuid.bat index a1d5b8ec4a..c778a19d01 100644 --- a/scripts/windows/verify_no_uuid.bat +++ b/scripts/windows/verify_no_uuid.bat @@ -5,10 +5,10 @@ setlocal 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\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 +findstr GenerateUUID %1\consul\fsm.go 1>nul if not %ERRORLEVEL% EQU 1 exit /B 1 exit /B 0