1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-23 15:29:42 +02:00

refactor(container): reword notification messages

This commit is contained in:
xAt0mZ 2019-07-18 17:19:00 +02:00
parent a856053338
commit f71a565acc

View file

@ -156,10 +156,10 @@ function ($q, $scope, $state, $transition$, $filter, Commit, ContainerHelper, Co
var imageConfig = ImageHelper.createImageConfigForCommit(image, registry.URL); var imageConfig = ImageHelper.createImageConfigForCommit(image, registry.URL);
Commit.commitContainer({id: $transition$.params().id, tag: imageConfig.tag, repo: imageConfig.repo}, function () { Commit.commitContainer({id: $transition$.params().id, tag: imageConfig.tag, repo: imageConfig.repo}, function () {
update(); update();
Notifications.success('Container commited', $transition$.params().id); Notifications.success('Image created', $transition$.params().id);
}, function (e) { }, function (e) {
update(); update();
Notifications.error('Failure', e, 'Unable to commit container'); Notifications.error('Failure', e, 'Unable to create image');
}); });
}; };