diff options
author | MotoKen <motokentsai@gmail.com> | 2013-03-20 13:46:42 +0800 |
---|---|---|
committer | MotoKen <motokentsai@gmail.com> | 2013-03-29 10:53:44 +0800 |
commit | 69e940c661731c8ac3cc0cf4e874929c86dcdeb2 (patch) | |
tree | 1984c5de665fe5bc18c8fb45ce47d2511bab9864 /nova/utils.py | |
parent | befef9ab1d497c42de60afa70f07b67b28350c3d (diff) | |
download | nova-69e940c661731c8ac3cc0cf4e874929c86dcdeb2.tar.gz nova-69e940c661731c8ac3cc0cf4e874929c86dcdeb2.tar.xz nova-69e940c661731c8ac3cc0cf4e874929c86dcdeb2.zip |
Accepts aws-sdk-java timestamp format
The aws-sdk-java timestamp format is "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"
which contains millisecond representation. However, the current
implementation does not accept this kind of format.
References:
https://github.com/aws/aws-sdk-java/blob/master/src/main/java/com/amazonaws/auth/QueryStringSigner.java#L173
Adds ability to parse this format in ec2utils.is_ec2_timestamp_expired.
Fixes bug 1156445.
Change-Id: I389ff8b9c6c91b699538b889add264d66dbb8131
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions