Regenerate protobuf files
tools/gen-criapi was used with the latest protobuf dependencies to generate compatible files. This makes Zun Compute work again with the current implementation of protobuf. In addition, fix two issues that causes gate failure. Depends-On: https://review.opendev.org/c/openstack/kuryr-libnetwork/+/851549 Closes-Bug: #1982924 Change-Id: Id1032709f6e3b11b718b3df6a6ac3531a9c99824
This commit is contained in:
parent
a4e5688a68
commit
40dd541bb1
@ -19,3 +19,4 @@ testtools>=2.4.0 # MIT
|
||||
stestr>=3.1.0 # Apache-2.0
|
||||
Pygments>=2.7.2 # BSD license
|
||||
python-zunclient>=4.1.0 # Apache-2.0
|
||||
WebTest>=2.0.26 # MIT
|
||||
|
@ -18,6 +18,7 @@ from oslo_utils import timeutils
|
||||
|
||||
from zun.common import exception
|
||||
from zun.common import policy
|
||||
from zun.common import utils
|
||||
|
||||
|
||||
class RequestContext(context.RequestContext):
|
||||
@ -92,7 +93,7 @@ class RequestContext(context.RequestContext):
|
||||
'auth_token_info': self.auth_token_info,
|
||||
'password': self.password,
|
||||
'all_projects': self.all_projects,
|
||||
'timestamp': timeutils.strtime(self.timestamp) if
|
||||
'timestamp': utils.strtime(self.timestamp) if
|
||||
hasattr(self, 'timestamp') else None
|
||||
})
|
||||
return value
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user