Merge pull request #1001 from balena-io/fix-typo

Fix typo in image selection
This commit is contained in:
CameronDiver 2019-06-11 05:41:58 -07:00 committed by GitHub
commit 04cbadf30b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -225,7 +225,7 @@ export class Images extends (EventEmitter as new () => ImageEventEmitter) {
newImage.NormalisedRepoTags = await this.getNormalisedTags(image);
return newImage;
}),
this.db.models('images').select(),
this.db.models('image').select(),
]);
return cb(normalisedImages, dbImages);
}