fix: TypeError exception

This commit is contained in:
Wyatt Preul 2017-09-13 09:54:19 -05:00 committed by Sérgio Ramos
parent 9eda12e75d
commit 2ce08bbe30
5 changed files with 11 additions and 7 deletions

View File

@ -28,7 +28,7 @@ consul:
# it is included here for demo purposes and is not required
#############################################################################
prometheus:
image: autopilotpattern/prometheus:1.7.1-r24
image: autopilotpattern/prometheus:1.7.1-r20
restart: always
mem_limit: 1g
ports:
@ -46,7 +46,7 @@ prometheus:
# FRONTEND
#############################################################################
frontend:
image: joyent/copilot-frontend:1.3.4
image: joyent/copilot-frontend:1.0.0
mem_limit: 512m
links:
- consul:consul
@ -66,7 +66,7 @@ frontend:
# BACKEND
#############################################################################
api:
image: joyent/copilot-api:1.8.5
image: joyent/copilot-api:1.8.6
mem_limit: 512m
links:
- consul:consul
@ -83,7 +83,7 @@ api:
# Docker-compose wrapper
# Create _env file from running ./setup.sh
compose-api:
image: joyent/copilot-compose:1.1.0
image: joyent/copilot-compose:1.0.0
links:
- consul:consul
expose:

View File

@ -21,7 +21,7 @@
"joi": "^10.6.0",
"joyent-cp-gql-schema": "^1.7.0",
"piloted": "^3.1.1",
"portal-api": "^1.8.5",
"portal-api": "^1.8.6",
"toppsy": "^1.1.0",
"triton": "^5.2.0"
}

View File

@ -341,6 +341,10 @@ module.exports = class MachineWatcher {
};
const toBeActiveServiceResolver = (cb) => {
if (!version || !version.plan) {
return cb();
}
VAsync.forEachParallel({
inputs: version.plan,
func: (action, next) => {

View File

@ -1,6 +1,6 @@
{
"name": "portal-api",
"version": "1.8.5",
"version": "1.8.6",
"description": "",
"main": "./lib/index.js",
"scripts": {

View File

@ -81,7 +81,7 @@ frontend:
# BACKEND
#############################################################################
api:
image: joyent/copilot-api:1.8.5
image: joyent/copilot-api:1.8.6
mem_limit: 1g
expose:
- 3000