open-consul/scripts/verify_no_uuid.sh

14 lines
188 B
Bash
Executable File

#!/bin/bash
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