Skip to content

Commit e272eda

Browse files
fix hash for image-v1 (#431)
1 parent 8ac9e8f commit e272eda

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/interface/cli/helpers/image.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class ImagesHelper {
2020
annotations: _.get(image, 'metadata', {}),
2121
tagId: tag._id,
2222
created: image.created ? new Date(image.created) : undefined,
23-
hash: image.hash,
23+
hash: image.hash || image._id,
2424
};
2525
newImage.id = image.internalImageId ? image.internalImageId.substring(0, 12) : '\b';
2626
if (_.isEqual(tag, NONE_TAG)) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codefresh",
3-
"version": "0.50.1",
3+
"version": "0.50.2",
44
"description": "Codefresh command line utility",
55
"main": "index.js",
66
"preferGlobal": true,

0 commit comments

Comments
 (0)