Permalink
Browse files

Fix for split component upgrade by gholms. Fixes EUCA-3403.

  • Loading branch information...
Neil Soman authored and viglesiasce committed Aug 29, 2012
1 parent 20c8538 commit d5b8307991f50594c290ae08ffaaae64bc0df90e
Showing with 1 addition and 1 deletion.
  1. +1 −1 tools/euca_upgrade
View
@@ -138,7 +138,7 @@ upgrade_db() {
return
fi
elif ! (ls ${OLD_EUCA}/${DBDIR}/* >/dev/null 2>&1); then
- if [ "${OLD_EUCA_VERSION:0:3}" == "3.0" ]; then
+ if [ "${OLD_EUCA_VERSION:0:3}" == "3.0" ] || [ "${OLD_EUCA_VERSION:0:3}" == "3.1" ]; then
log "This is not a CLC. Skipping DB upgrade."
return
else

0 comments on commit d5b8307

Please sign in to comment.