'expires_at' on a task must be set only after the executor succeeds or
fails on a task. Before the task has finished, there shouldn't be any
'expires_at' set on the task. This change fixes the ResponseSerializer
to not show 'expires_at' if it is not set.
Reviewed: https:/ /review. openstack. org/65496 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=124048535d9 c9c8dc6d527b4a7 3a5f84a25585f4
Committed: https:/
Submitter: Jenkins
Branch: master
commit 124048535d9c9c8 dc6d527b4a73a5f 84a25585f4
Author: Hemanth Makkapati <email address hidden>
Date: Wed Jan 8 10:56:43 2014 -0500
Makes 'expires_at' not appear if not set on task
Fixes bug: 1267148
'expires_at' on a task must be set only after the executor succeeds or
fails on a task. Before the task has finished, there shouldn't be any
'expires_at' set on the task. This change fixes the ResponseSerializer
to not show 'expires_at' if it is not set.
Change-Id: I9880cc03b9d6f0 dd98388fcf0d1bd c9c34dd6c0e