properly pass port around

This commit is contained in:
Spencer Alger
2015-07-02 14:53:52 -07:00
parent 878a3e41ce
commit 89aa4575a5
4 changed files with 26 additions and 21 deletions

View File

@ -112,9 +112,10 @@ module.exports = {
repository: repo,
snapshot: '_all'
})
.catch(_.noop)
.then(function (resp) {
return _.pluck(resp.snapshots, 'snapshot');
}, function () {
return [];
})
.map(function (snapshot) {
return client.snapshot.delete({