From 633508aa890ca2fb347264261583aa4d36013cd3 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 4 Jul 2018 10:16:14 +0200 Subject: [PATCH] config set: check digest --- PVE/APIClient/Commands/config.pm | 3 +++ 1 file changed, 3 insertions(+) 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');