Skip to content

Commit

Permalink
no alias ports for interface definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
lindt committed Mar 30, 2016
1 parent 02c3755 commit 7d2bed9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion compose_plantuml/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def boundaries(self, compose, group=False, ports=True, volumes=True, notes=False
if container is not None:
port = '{0} : {1}'.format(host, container)
port_links += '[{0}] --> {1}\n'.format(service, port)
port_uml += 'interface {0}\n'.format(port)
port_uml += 'interface {0}\n'.format(host)
result += self.group('ports', port_uml) if group else ''
result += port_links

Expand Down
4 changes: 2 additions & 2 deletions features/boundaries.feature
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Feature: Boundaries
volumes:
- service_log:/log
ports:
- 8080
- 8080:80
unused_service: {}
volumes:
service_log: {}
Expand All @@ -125,7 +125,7 @@ Feature: Boundaries
package ports {
interface 8080
}
[service] --> 8080
[service] --> 8080 : 80
[service] --> volume_1
"""
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def readme():

setup(
name='compose_plantuml',
version='0.0.12',
version='0.0.13',
description='converts docker-compose into plantuml',
long_description=readme(),
url='http://github.com/funkwerk/compose_plantuml',
Expand Down

0 comments on commit 7d2bed9

Please sign in to comment.