mirror of https://github.com/portainer/portainer
fix(volumes): add addr field in options when creating a CIFS volume [EE-2349] (#6359)
parent
20405e9803
commit
b7d18ef50f
|
@ -63,7 +63,7 @@ angular.module('portainer.docker').controller('CreateVolumeController', [
|
|||
driverOptions.push({ name: 'device', value: device });
|
||||
|
||||
const versionNumber = data.versionsNumber[data.versions.indexOf(data.version)];
|
||||
const options = 'username=' + data.username + ',password=' + data.password + ',vers=' + versionNumber;
|
||||
const options = 'addr=' + data.serverAddress + ',username=' + data.username + ',password=' + data.password + ',vers=' + versionNumber;
|
||||
driverOptions.push({ name: 'o', value: options });
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue