mirror of
https://github.com/yldio/copilot.git
synced 2024-11-14 07:10:05 +02:00
fix: no longer ignore successful status checks
This commit is contained in:
parent
ac2eab6cfe
commit
3c8b2b0c8f
@ -72,7 +72,7 @@ frontend:
|
||||
# BACKEND
|
||||
#############################################################################
|
||||
api:
|
||||
image: joyent/copilot-api:1.8.15
|
||||
image: joyent/copilot-api:1.8.16
|
||||
mem_limit: 1g
|
||||
expose:
|
||||
- 3000
|
||||
@ -81,8 +81,6 @@ api:
|
||||
- _env
|
||||
environment:
|
||||
- PORT=3000
|
||||
ports:
|
||||
- "8080:8080"
|
||||
restart: always
|
||||
|
||||
# Docker-compose wrapper
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "api",
|
||||
"version": "1.8.15",
|
||||
"version": "1.8.16",
|
||||
"description": "",
|
||||
"main": "./server.js",
|
||||
"scripts": {
|
||||
@ -19,9 +19,9 @@
|
||||
"hapi": "^16.6.0",
|
||||
"hoek": "^4.1.1",
|
||||
"joi": "^10.6.0",
|
||||
"joyent-cp-gql-schema": "^1.7.0",
|
||||
"joyent-cp-gql-schema": "^1.8.0",
|
||||
"piloted": "^3.1.1",
|
||||
"portal-api": "^1.8.15",
|
||||
"portal-api": "^1.8.16",
|
||||
"toppsy": "^1.1.0",
|
||||
"triton": "^5.2.0"
|
||||
}
|
||||
|
@ -66,7 +66,7 @@ frontend:
|
||||
# BACKEND
|
||||
#############################################################################
|
||||
api:
|
||||
image: joyent/copilot-api:1.8.15
|
||||
image: joyent/copilot-api:1.8.16
|
||||
mem_limit: 512m
|
||||
links:
|
||||
- consul:consul
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "joyent-cp-gql-schema",
|
||||
"version": "1.7.0",
|
||||
"version": "1.8.0",
|
||||
"license": "MPL-2.0",
|
||||
"repository": "github:yldio/copilot",
|
||||
"main": "index.js",
|
||||
|
@ -167,7 +167,7 @@ module.exports = class ContainerPilotWatcher extends Events {
|
||||
func: fetchStatus,
|
||||
inputs: machine.ips
|
||||
}, (err, results) => {
|
||||
if (err || !results.successes || !results.successes.length) {
|
||||
if (err && (!results.successes || !results.successes.length)) {
|
||||
return cb(err);
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "portal-api",
|
||||
"version": "1.8.15",
|
||||
"version": "1.8.16",
|
||||
"description": "",
|
||||
"main": "./lib/index.js",
|
||||
"scripts": {
|
||||
@ -39,7 +39,7 @@
|
||||
"graphi": "^3.0.0",
|
||||
"hasha": "^3.0.0",
|
||||
"hoek": "^4.2.0",
|
||||
"joyent-cp-gql-schema": "^1.7.0",
|
||||
"joyent-cp-gql-schema": "^1.8.0",
|
||||
"lodash.find": "^4.6.0",
|
||||
"lodash.flatten": "^4.4.0",
|
||||
"lodash.get": "^4.4.2",
|
||||
|
Loading…
Reference in New Issue
Block a user