mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-15 11:32:41 +00:00
parser: fix case sensitivity when classifying mountpoints
This commit is contained in:
parent
c5ccc8d0b7
commit
283b450ec5
@ -307,7 +307,7 @@ Ext.define('PVE.Parser', { statics: {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var m = res.file.match(/^([a-z][a-z0-9\-\_\.]*[a-z0-9]):/);
|
var m = res.file.match(/^([a-z][a-z0-9\-\_\.]*[a-z0-9]):/i);
|
||||||
if (m) {
|
if (m) {
|
||||||
res.storage = m[1];
|
res.storage = m[1];
|
||||||
res.type = 'volume';
|
res.type = 'volume';
|
||||||
|
@ -307,7 +307,7 @@ Ext.define('PVE.Parser', { statics: {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var m = res.file.match(/^([a-z][a-z0-9\-\_\.]*[a-z0-9]):/);
|
var m = res.file.match(/^([a-z][a-z0-9\-\_\.]*[a-z0-9]):/i);
|
||||||
if (m) {
|
if (m) {
|
||||||
res.storage = m[1];
|
res.storage = m[1];
|
||||||
res.type = 'volume';
|
res.type = 'volume';
|
||||||
|
Loading…
Reference in New Issue
Block a user