Skip to content

Commit

Permalink
Fix for finding in images which used underscores
Browse files Browse the repository at this point in the history
FIxes EUCA-9068
  • Loading branch information
viglesiasce committed Apr 5, 2014
1 parent 92bfbc9 commit 81659ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion euca-install-load-balancer
Expand Up @@ -80,7 +80,7 @@ class LBManager(object):

def _get_image_version(self, image):
manifest = image.location
matches = re.match(r'{0}-v(\d+)'.format(self.BUCKET_PREFIX), manifest)
matches = re.match(r'{0}.v(\d+)'.format(self.BUCKET_PREFIX), manifest)
try:
return int(matches.group(1))
except:
Expand Down

0 comments on commit 81659ff

Please sign in to comment.