UPDATED log message

Signed-off-by: Zuhayr Elahi <elahi.zuhayr@gmail.com>
This commit is contained in:
Zuhayr Elahi 2019-10-09 12:02:18 -07:00 committed by Nicolas De loof
parent 3135a0a839
commit 8835056ce4
1 changed files with 1 additions and 3 deletions

View File

@ -624,9 +624,7 @@ class Service(object):
container.start()
except APIError as ex:
if "driver failed programming external connectivity" in ex.explanation:
log.warn(
"Port is already in use, check the docker-compose file to see if the same" +
" port was allocated to multiple services")
log.warn("Host is already in use by another container")
raise OperationFailedError("Cannot start service %s: %s" % (self.name, ex.explanation))
return container