This commit is contained in:
Dave Eddy 2015-08-26 13:05:50 -04:00
parent d5e5b81ac3
commit 20aea1de10

View File

@ -153,7 +153,7 @@ Triton.prototype.listImages = function listImages(opts, cb) {
fetch(); fetch();
function fetch() { function fetch() {
self.cloudapi.listImages(function (err, imgs, res) { self.cloudapi.listImages(opts, function (err, imgs, res) {
if (!err && self.cachedir) { if (!err && self.cachedir) {
// cache the results // cache the results
var data = JSON.stringify(imgs); var data = JSON.stringify(imgs);