Enable key-duplicates yamllint check and adjust code

Change-Id: I4de2435ff5deabe10dcd9ecaf8f336bd369e8566
This commit is contained in:
Andrii Ostapenko 2020-05-17 21:42:25 -05:00
parent ebfb2c6f72
commit fc22d477a2
3 changed files with 1 additions and 8750 deletions

View File

@ -656,8 +656,6 @@ conf:
fields: payload.audit_period_ending
- event_type: trove.*
traits: &trove_base_traits
state:
fields: payload.state_description
instance_type:
fields: payload.instance_type
user_id:
@ -1133,7 +1131,6 @@ conf:
flavor_id: $.payload.instance_flavor_id
flavor_name: $.payload.instance_type
display_name: $.payload.display_name
host: $.payload.host
image_ref: $.payload.image_meta.base_image_ref
- name: 'vcpus'
event_type: 'compute.instance.*'

File diff suppressed because it is too large Load Diff

View File

@ -32,8 +32,7 @@ rules:
spaces: 2
indent-sequences: whatever
level: warning
key-duplicates:
level: warning
key-duplicates: enable
key-ordering: disable
line-length: disable
new-line-at-end-of-file: