Fix instance_type distilling.

Was trying to parse string flavor id as int and failing. This fixes that.

Change-Id: I078d5860a385a1c2f0098b23af9c416017b59c1c
This commit is contained in:
Sandy Walsh 2015-02-18 09:25:43 -08:00
parent 363dfd5966
commit b21ee4ef6d
3 changed files with 4 additions and 3 deletions

View File

@ -32,10 +32,10 @@
- payload.instance_type
- payload.image_meta.instance_type_name
- payload.image_meta.instance_type_flavorid
- payload.instance_flavor_id
instance_flavor_id:
type: int
fields:
- payload.instance_flavor_id
- payload.image_meta.instance_type_flavor_id
- payload.instance_type_id
memory_mb:

View File

@ -1,3 +1,4 @@
---
- event_type: compute.instance.*
traits: &instance_traits
tenant_id:
@ -31,10 +32,10 @@
- payload.instance_type
- payload.image_meta.instance_type_name
- payload.image_meta.instance_type_flavorid
- payload.instance_flavor_id
instance_flavor_id:
type: int
fields:
- payload.instance_flavor_id
- payload.image_meta.instance_type_flavor_id
- payload.instance_type_id
memory_mb:

View File

@ -31,10 +31,10 @@
- payload.instance_type
- payload.image_meta.instance_type_name
- payload.image_meta.instance_type_flavorid
- payload.instance_flavor_id
instance_flavor_id:
type: int
fields:
- payload.instance_flavor_id
- payload.image_meta.instance_type_flavor_id
- payload.instance_type_id
memory_mb: