From: Dietmar Maurer Date: Wed, 4 Jul 2018 08:16:14 +0000 (+0200) Subject: config set: check digest X-Git-Url: https://git.proxmox.com/?p=pve-client.git;a=commitdiff_plain;h=633508aa890ca2fb347264261583aa4d36013cd3 config set: check digest --- diff --git a/PVE/APIClient/Commands/config.pm b/PVE/APIClient/Commands/config.pm index 0b9b9aa..a5171fb 100644 --- a/PVE/APIClient/Commands/config.pm +++ b/PVE/APIClient/Commands/config.pm @@ -54,6 +54,9 @@ __PACKAGE__->register_method ({ my $code = sub { my $config = PVE::APIClient::Config->load(); + + PVE::APIClient::Tools::assert_if_modified($config->{digest}, $digest); + my $defaults = PVE::APIClient::Config->get_defaults($config); my $plugin = PVE::APIClient::Config->lookup('defaults');