[pve-devel] applied: Re: [PATCH manager] status: influxdb: suppress warning when no token exists

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Dec 21 15:45:03 CET 2021


On 20/12/2021 13:43, Dominik Csapak wrote:
> in get_credentials, we try to read the token for the specified server,
> and warn if we cannot do that (e.g. because the file does not exist)
> 
> since having no token is a valid configuration, suppress that warning on
> connection.
> 
> reported by a forum-user:
> https://forum.proxmox.com/threads/interface-comes-up-with-all-question-marks.83287/page-2#post-438204
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
> alternatively, we could create an empty file on creation, but this does
> not fix existing installations.
> 
>  PVE/Status/InfluxDB.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
>

applied, thanks!





More information about the pve-devel mailing list