From 93f17736fd52d1e2dbc4d74bbff786021e24ce4c Mon Sep 17 00:00:00 2001 From: Armon Dadgar Date: Thu, 9 Oct 2014 11:33:25 -0700 Subject: [PATCH] Ensure FSM also does not use UUIDs --- scripts/verify_no_uuid.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/verify_no_uuid.sh b/scripts/verify_no_uuid.sh index 228bd652b7..4e9edf2ece 100755 --- a/scripts/verify_no_uuid.sh +++ b/scripts/verify_no_uuid.sh @@ -1,8 +1,13 @@ #!/bin/bash -set -e + grep generateUUID consul/state_store.go RESULT=$? +if [ $RESULT -eq 0 ]; then + exit 1 +fi +grep generateUUID consul/fsm.go +RESULT=$? if [ $RESULT -eq 0 ]; then exit 1 fi