From 9924c83c5f4a6d28c9b99a85cd694e70c384c5e9 Mon Sep 17 00:00:00 2001 From: Christophe Siraut Date: Thu, 18 Apr 2019 17:07:22 +0200 Subject: [PATCH] environment: enable ServiceBase validation when performing cook (#32454) --- hobo/environment/management/commands/cook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hobo/environment/management/commands/cook.py b/hobo/environment/management/commands/cook.py index 59a5d64..37a9a0a 100644 --- a/hobo/environment/management/commands/cook.py +++ b/hobo/environment/management/commands/cook.py @@ -174,7 +174,7 @@ class Command(BaseCommand): must_save = True if must_save: try: - obj.full_clean() + obj.full_clean(exclude=['last_operational_success_timestamp', 'last_operational_check_timestamp']) except ValidationError as e: raise CommandError(str(e))