fix(container-details): fix the ability to commit a container (#983)

pull/984/head
Anthony Lapenna 2017-07-05 19:06:28 +02:00 committed by GitHub
parent 54c8872d25
commit 7473681c5b
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ function ($scope, $state, $stateParams, $filter, Container, ContainerCommit, Con
$('#createImageSpinner').show();
var image = $scope.config.Image;
var registry = $scope.config.Registry;
var imageConfig = ImageHelper.createImageConfigForCommit(image, registry);
var imageConfig = ImageHelper.createImageConfigForCommit(image, registry.URL);
ContainerCommit.commit({id: $stateParams.id, tag: imageConfig.tag, repo: imageConfig.repo}, function (d) {
$('#createImageSpinner').hide();
update();