Fix usage of method strtime
Function 'oslo_utils.timeutils.strtime()' is deprecated in version '1.6' and will be removed in a future version. Change-Id: I5bcf88d870499296d9cc542621ec220a7bffb882
This commit is contained in:
parent
0531a0a851
commit
2ec06da007
|
@ -109,7 +109,7 @@ class RequestContext(context.RequestContext):
|
|||
'project_id': self.project_id,
|
||||
'read_deleted': self.read_deleted,
|
||||
'remote_address': self.remote_address,
|
||||
'timestamp': timeutils.strtime(self.timestamp),
|
||||
'timestamp': self.timestamp.isoformat(),
|
||||
'user_name': self.user_name,
|
||||
'project_name': self.project_name,
|
||||
'service_catalog': self.service_catalog
|
||||
|
|
Loading…
Reference in New Issue