mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 05:45:22 +02:00
refactor(app): remove all VMWARE_VIC related code (#3914)
This commit is contained in:
parent
b02749f877
commit
06911ad2c6
6 changed files with 6 additions and 15 deletions
|
@ -147,10 +147,9 @@ angular.module('portainer.docker').controller('ImageController', [
|
|||
|
||||
function initView() {
|
||||
HttpRequestHelper.setPortainerAgentTargetHeader($transition$.params().nodeName);
|
||||
var endpointProvider = $scope.applicationState.endpoint.mode.provider;
|
||||
$q.all({
|
||||
image: ImageService.image($transition$.params().id),
|
||||
history: endpointProvider !== 'VMWARE_VIC' ? ImageService.history($transition$.params().id) : [],
|
||||
history: ImageService.history($transition$.params().id),
|
||||
})
|
||||
.then(function success(data) {
|
||||
$scope.image = data.image;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue