1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-05 05:45:22 +02:00

feat(containers): trim the @sha256 suffix in the image name (#1551)

This commit is contained in:
Anthony Lapenna 2018-01-05 12:32:53 +01:00 committed by GitHub
parent 5787df5599
commit f57ce8b327
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -352,7 +352,6 @@ angular.module('portainer.filters')
if (imageName.indexOf('sha256:') === 0) { if (imageName.indexOf('sha256:') === 0) {
return imageName.substring(7, 19); return imageName.substring(7, 19);
} }
return imageName; return _.split(imageName, '@sha256')[0];
}; };
}) });
;