Set instance_type_id in event traits to be a string.
In gnocchi the flavor_id attribute is a string so also make it a string in the event for compatibility. This is needed if you are creating gnocchi instances from events. Change-Id: I1949e592431510b0cb6949e981f3efb72a1e7a1a
This commit is contained in:
parent
74d2f5655a
commit
db3fcc02ee
@ -33,7 +33,6 @@
|
||||
type: int
|
||||
fields: payload.vcpus
|
||||
instance_type_id:
|
||||
type: int
|
||||
fields: payload.instance_type_id
|
||||
instance_type:
|
||||
fields: payload.instance_type
|
||||
|
@ -49,7 +49,7 @@ INSTANCE_DELETE_START = models.Event(
|
||||
models.Trait('tenant_id', 1, u'7c150a59fe714e6f9263774af9688f0e'),
|
||||
models.Trait('root_gb', 2, 0),
|
||||
models.Trait('ephemeral_gb', 2, 0),
|
||||
models.Trait('instance_type_id', 2, 2),
|
||||
models.Trait('instance_type_id', 2, u'2'),
|
||||
models.Trait('vcpus', 2, 1),
|
||||
models.Trait('memory_mb', 2, 512),
|
||||
models.Trait(
|
||||
|
Loading…
Reference in New Issue
Block a user