diff --git a/cloud/examples/clone_example.cc b/cloud/examples/clone_example.cc index b1c489219db..7192813c63b 100644 --- a/cloud/examples/clone_example.cc +++ b/cloud/examples/clone_example.cc @@ -43,7 +43,7 @@ Status CloneDB(const std::string& clone_name, const std::string& src_bucket, // Create new AWS env CloudFileSystem* cfs; - Status st = CloudFileSystem::NewAwsFileSystem( + Status st = CloudFileSystemEnv::NewAwsFileSystem( FileSystem::Default(), src_bucket, src_object_path, kRegion, dest_bucket, dest_object_path, kRegion, cloud_fs_options, nullptr, &cfs); if (!st.ok()) { @@ -108,7 +108,7 @@ int main() { // Create a new AWS cloud env Status CloudFileSystem* cfs; - Status s = CloudFileSystem::NewAwsFileSystem( + Status s = CloudFileSystemEnv::NewAwsFileSystem( FileSystem::Default(), kBucketSuffix, kDBPath, kRegion, kBucketSuffix, kDBPath, kRegion, cloud_fs_options, nullptr, &cfs); if (!s.ok()) { diff --git a/cloud/examples/cloud_dump.cc b/cloud/examples/cloud_dump.cc index 36f25c54acf..db9682bb070 100644 --- a/cloud/examples/cloud_dump.cc +++ b/cloud/examples/cloud_dump.cc @@ -53,7 +53,7 @@ int main() { // Create a new AWS cloud env Status CloudFileSystem* cfs; - Status s = CloudFileSystem::NewAwsFileSystem( + Status s = CloudFileSystemEnv::NewAwsFileSystem( FileSystem::Default(), kBucketSuffix, kDBPath, kRegion, kBucketSuffix, kDBPath, kRegion, cloud_fs_options, nullptr, &cfs); if (!s.ok()) { diff --git a/cloud/examples/cloud_durable_example.cc b/cloud/examples/cloud_durable_example.cc index 642226305ce..b3261a1778d 100644 --- a/cloud/examples/cloud_durable_example.cc +++ b/cloud/examples/cloud_durable_example.cc @@ -56,7 +56,7 @@ int main() { // Create a new AWS cloud env Status CloudFileSystem* cfs; - Status s = CloudFileSystem::NewAwsFileSystem( + Status s = CloudFileSystemEnv::NewAwsFileSystem( FileSystem::Default(), kBucketSuffix, kDBPath, kRegion, kBucketSuffix, kDBPath, kRegion, cloud_fs_options, nullptr, &cfs); if (!s.ok()) {