mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-15 05:45:00 +00:00
ACME: fix fallback to implicit standalone plugin
we need to parse the config even if it does not exist - it will return the 'standalone' entry that's needed to be backwards compatible with existing setups. Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
1f2497692a
commit
25fd63631d
@ -245,9 +245,7 @@ __PACKAGE__->register_method({
|
||||
});
|
||||
|
||||
sub load_config {
|
||||
my $cfg = {};
|
||||
$cfg = cfs_read_file($plugin_config_file) if -e "/etc/pve/$plugin_config_file";
|
||||
return $cfg;
|
||||
return cfs_read_file($plugin_config_file);
|
||||
}
|
||||
|
||||
1;
|
||||
|
Loading…
Reference in New Issue
Block a user