File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ sub get_timestamp {
2121 if ($min < 10) { $min = " 0$min " ; }
2222 if ($sec < 10) { $sec = " 0$sec " ; }
2323 $year =$year +1900;
24- return $year . ' _ ' . $mon . ' _ ' . $mday . ' _ ' . $hour . ' _ ' . $min . ' _ ' . $sec ;
24+ return $year . ' - ' . $mon . ' - ' . $mday . ' - ' . $hour . ' - ' . $min . ' - ' . $sec ;
2525}
2626
2727# Function to check if radosgw is already running
@@ -195,11 +195,12 @@ sub run_s3
195195 host => $hostname ,
196196 secure => 0,
197197 retry => 1,
198+ dns_bucket_names => 0,
198199 }
199200 );
200201 }
201202
202- our $bucketname = ' buck_ ' .get_timestamp();
203+ our $bucketname = ' buck- ' .get_timestamp();
203204# create a new bucket (the test bucket)
204205our $bucket = $s3 -> add_bucket( { bucket => $bucketname } )
205206 or die $s3 -> err. " bucket $bucketname create failed\n " . $s3 -> errstr;
You can’t perform that action at this time.
0 commit comments