fix(volumes): add addr field in options when creating a CIFS volume [EE-2349] (#6359)

pull/6649/head
KyKlen 2022-03-10 11:06:52 -05:00 committed by GitHub
parent 20405e9803
commit b7d18ef50f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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