compose/tests/fixtures/extends/circle-1.yml
Daniel Nephin 5e97b806d5 Fix a bug in ExtendsResolver where the service name of the extended service was wrong.
This bug can be seen by the change to the test case. When the extended service
uses a different name, the error was reported incorrectly.

By fixing this bug we can simplify self.signature and self.detect_cycles to
always use self.service_name.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
2015-11-11 10:58:07 -05:00

12 lines
147 B
YAML

foo:
image: busybox
bar:
image: busybox
web:
extends:
file: circle-2.yml
service: other
baz:
image: busybox
quux:
image: busybox