[pve-devel] Custom Storage Plugin
Dmitry Petuhov
mityapetuhov at gmail.com
Thu May 18 09:08:34 CEST 2017
18.05.2017 06:59, Dietmar Maurer wrote:
>> However when going to the Summary page for a lizardfs storage Instance
>> it shows the usages details etc correctly, but the Type comes up as
>> "Unknown"
> You need to patch the GUI code to display something else.
>
>
https://git.proxmox.com/?p=pve-manager.git;a=blob;f=www/manager6/Utils.js;h=d1ada771f02bc37ca56edfe27de190f43ca4ece8;hb=HEAD#l777
Maybe it would be better to add some property to plugins and display it
directly in GUI?
Or just show raw value for all plugins, because for most plugins it
differs from displayed value only by case of letters.
Or at least do something like that:
} else {
return value;
}
More information about the pve-devel
mailing list