Skip to content

Commit 91c40ed

Browse files
By default only show SUCCESSFUL. Bump to node:4.6
1 parent 28bf37e commit 91c40ed

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:4.5
1+
FROM node:4.6
22

33
RUN wget -O /usr/local/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.1.2/dumb-init_1.1.2_amd64
44
RUN chmod +x /usr/local/bin/dumb-init

lib/db.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ api.init = function (app, callback) {
122122
api.getSnapshots = function getSnapshots (opts, callback) {
123123
r.table(table)
124124
.orderBy({index: r.desc('createdAt')})
125+
.filter({'status': 'SUCCESSFUL'})
125126
.limit(10)
126127
.run()
127128
.then(function (results) {

0 commit comments

Comments
 (0)