mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
* chore(eslint): update esllint and remove unused variables
* chore(eslint-config): change no-unused-vars to warn * chore(eslint): remove unused variables * chore(eslint): allow unused globals * fixup! chore(eslint): allow unused globals * chore(eslint): remove commented unused vars * fixup! chore(eslint): remove commented unused vars
This commit is contained in:
parent
46da95ecfb
commit
e58acd7dd6
67 changed files with 121 additions and 146 deletions
|
@ -35,12 +35,6 @@ angular.module('portainer.docker')
|
|||
for (var v in container.Mounts) {
|
||||
if ({}.hasOwnProperty.call(container.Mounts, v)) {
|
||||
var mount = container.Mounts[v];
|
||||
var volume = {
|
||||
'type': mount.Type,
|
||||
'name': mount.Name || mount.Source,
|
||||
'containerPath': mount.Destination,
|
||||
'readOnly': mount.RW === false
|
||||
};
|
||||
var name = mount.Name || mount.Source;
|
||||
var containerPath = mount.Destination;
|
||||
if (name && containerPath) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue