1
0
Fork 0
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:
xAt0mZ 2020-06-10 21:59:11 +02:00 committed by GitHub
parent b02749f877
commit 06911ad2c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 15 deletions

View file

@ -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;
})