environment: enable ServiceBase validation when performing cook (#32454)
This commit is contained in:
parent
442c39f999
commit
9924c83c5f
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in New Issue