[Commits] 8f708679b: Implement CloudEnvImpl::GetThreadList which redirects the call base_env_
revision-id: 8f708679b365476d0018ae37eac93e4d7dc6d8b7 (v5.18.3-6-g8f708679b) parent(s): 40e5e3f07fbb4072b9b5e4f933eb9aecea1bb737 author: Sergei Petrunia committer: Sergei Petrunia timestamp: 2019-06-19 18:13:44 +0300 message: Implement CloudEnvImpl::GetThreadList which redirects the call base_env_ Without it, CloudEnvImpl uses Env::GetThreadList(), which returns Status::NotSupported. --- cloud/cloud_env_impl.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cloud/cloud_env_impl.h b/cloud/cloud_env_impl.h index 6cad62d99..7b5f6d55a 100644 --- a/cloud/cloud_env_impl.h +++ b/cloud/cloud_env_impl.h @@ -93,6 +93,10 @@ class CloudEnvImpl : public CloudEnv { void TEST_InitEmptyCloudManifest(); void TEST_DisableCloudManifest() { test_disable_cloud_manifest_ = true; } + Status GetThreadList(std::vector<ThreadStatus>* thread_list) override { + return base_env_->GetThreadList(thread_list); + } + protected: // The type of cloud service e.g. AWS, Azure, Google, etc. const CloudType cloud_type_;
participants (1)
-
Sergei Petrunia