Don't set the hostname to the service name with networking.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
3f14df374f
commit
ba61a6c5fb
3 changed files with 0 additions and 14 deletions
|
|
@ -226,7 +226,6 @@ class CLITestCase(DockerClientTestCase):
|
|||
containers = service.containers()
|
||||
self.assertEqual(len(containers), 1)
|
||||
self.assertIn(containers[0].id, network['Containers'])
|
||||
self.assertEqual(containers[0].get('Config.Hostname'), service.name)
|
||||
|
||||
web_container = self.project.get_service('web').containers()[0]
|
||||
self.assertFalse(web_container.get('HostConfig.Links'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue