mirror of
https://github.com/portainer/portainer.git
synced 2025-07-31 03:09:44 +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
|
@ -130,9 +130,8 @@ angular.module('portainer.docker').controller('CreateVolumeController', [
|
|||
|
||||
function initView() {
|
||||
var apiVersion = $scope.applicationState.endpoint.apiVersion;
|
||||
var endpointProvider = $scope.applicationState.endpoint.mode.provider;
|
||||
|
||||
PluginService.volumePlugins(apiVersion < 1.25 || endpointProvider === 'VMWARE_VIC')
|
||||
PluginService.volumePlugins(apiVersion < 1.25)
|
||||
.then(function success(data) {
|
||||
$scope.availableVolumeDrivers = data;
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue