diff --git a/app/components/image/image.html b/app/components/image/image.html index 491b14c9d..4f10a93e6 100644 --- a/app/components/image/image.html +++ b/app/components/image/image.html @@ -19,10 +19,10 @@
{{ tag }} - + - + diff --git a/app/components/image/imageController.js b/app/components/image/imageController.js index 9a5ac8fba..907b664c3 100644 --- a/app/components/image/imageController.js +++ b/app/components/image/imageController.js @@ -24,7 +24,7 @@ function ($scope, $stateParams, $state, ImageService, Notifications) { }); }; - $scope.pushImage = function(tag) { + $scope.pushTag = function(tag) { $('#loadingViewSpinner').show(); ImageService.pushImage(tag) .then(function success() { @@ -38,7 +38,7 @@ function ($scope, $stateParams, $state, ImageService, Notifications) { }); }; - $scope.pullImage = function(tag) { + $scope.pullTag = function(tag) { $('#loadingViewSpinner').show(); ImageService.pullTag(tag) diff --git a/app/models/imageDetails.js b/app/models/imageDetails.js index df7da6183..7864f10f6 100644 --- a/app/models/imageDetails.js +++ b/app/models/imageDetails.js @@ -11,7 +11,7 @@ function ImageDetailsViewModel(data) { this.Os = data.Os; this.Architecture = data.Architecture; this.Author = data.Author; - this.Command = data.ContainerConfig.Cmd; + this.Command = data.Config.Cmd; this.Entrypoint = data.ContainerConfig.Entrypoint ? data.ContainerConfig.Entrypoint : ''; this.ExposedPorts = data.ContainerConfig.ExposedPorts ? Object.keys(data.ContainerConfig.ExposedPorts) : []; this.Volumes = data.ContainerConfig.Volumes ? Object.keys(data.ContainerConfig.Volumes) : [];