Change the internal portBindings representation

Part of #504
This commit is contained in:
Girish Ramakrishnan
2018-08-12 19:33:11 -07:00
parent 8e2f0cdf73
commit df1dc80fc1
7 changed files with 61 additions and 33 deletions
+2 -2
View File
@@ -221,7 +221,7 @@ describe('database', function () {
manifest: { version: '0.1', dockerImage: 'docker/app0', healthCheckPath: '/', httpPort: 80, title: 'app0' },
httpPort: null,
containerId: null,
portBindings: { port: 5678 },
portBindings: { port: { hostPort: 5678 } },
health: null,
accessRestriction: null,
lastBackupId: null,
@@ -735,7 +735,7 @@ describe('database', function () {
manifest: { version: '0.1', dockerImage: 'docker/app0', healthCheckPath: '/', httpPort: 80, title: 'app0' },
httpPort: null,
containerId: null,
portBindings: { port: 5678 },
portBindings: { port: { hostPort: 5678 } },
health: null,
accessRestriction: null,
restoreConfig: null,