1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-29 18:29:44 +02:00

fix(volume-creation): fix missing endpointProvider variable

This commit is contained in:
Anthony Lapenna 2018-04-23 08:05:22 +02:00
parent 05d6abf57b
commit fe74f36f62

View file

@ -76,6 +76,7 @@ function ($q, $scope, $state, VolumeService, PluginService, ResourceControlServi
function initView() {
var apiVersion = $scope.applicationState.endpoint.apiVersion;
var endpointProvider = $scope.applicationState.endpoint.provider;
PluginService.volumePlugins(apiVersion < 1.25 || endpointProvider === 'VMWARE_VIC')
.then(function success(data) {