Skip to content

Commit bfa8b7f

Browse files
Use GetSrcBucketName() inside CloneDB
1 parent 1f052bf commit bfa8b7f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cloud/examples/clone_example.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,8 @@ Status CloneDB(const std::string& clone_name, const std::string& src_bucket,
6464
// No persistent cache
6565
std::string persistent_cache = "";
6666

67-
const std::string bucketPrefix = "rockset.";
6867
// create a bucket name for debugging purposes
69-
const std::string bucketName = bucketPrefix + kBucketSuffix;
68+
const std::string bucketName = cloud_env->get()->GetSrcBucketName();
7069

7170
// open clone
7271
DBCloud* db;

0 commit comments

Comments
 (0)