Add missing format var in error

This commit is contained in:
Ben Firshman 2013-12-18 11:15:59 +00:00
parent 87c46e281c
commit 785cb12833
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ class Service(object):
if not re.match('^[a-zA-Z0-9_]+$', name):
raise ValueError('Invalid name: %s' % name)
if 'image' in options and 'build' in options:
raise ValueError('Service %s has both an image and build path specified. A service can either be built to image or use an existing image, not both.')
raise ValueError('Service %s has both an image and build path specified. A service can either be built to image or use an existing image, not both.' % name)
self.name = name
self.client = client