Add error output if inconsisten parameters are found on package and components during consolidation progress
This commit is contained in:
parent
c19f4a8159
commit
15b4257c73
@ -34,4 +34,6 @@ class Command(BaseCommand):
|
|||||||
if s1 == s2:
|
if s1 == s2:
|
||||||
self.stdout.write(f'\tParameter {common_type.parameter_name} is the same value for component and package: {s1}. Removing from component')
|
self.stdout.write(f'\tParameter {common_type.parameter_name} is the same value for component and package: {s1}. Removing from component')
|
||||||
if not options['dry_run']:
|
if not options['dry_run']:
|
||||||
comp_param.delete()
|
comp_param.delete()
|
||||||
|
else:
|
||||||
|
self.stderr.write(f'\tParameter {common_type.parameter_name} is set on component {str(component)} and its package with different values: "{s1}" vs "{s2}"')
|
Loading…
Reference in New Issue
Block a user