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

pull/6649/head
KyKlen 3 years ago committed by GitHub
parent 20405e9803
commit b7d18ef50f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save