mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 07:19:41 +02:00
refactor(container): reword notification messages
This commit is contained in:
parent
a856053338
commit
f71a565acc
1 changed files with 2 additions and 2 deletions
|
@ -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');
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue