mirror of https://github.com/portainer/portainer
fix(volume-creation): fix missing endpointProvider variable
parent
05d6abf57b
commit
fe74f36f62
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue