mirror of
https://github.com/schoebel/mars
synced 2025-01-05 05:40:51 +00:00
marsadm: remove potentially dangerous internal _create_cluster() call
This commit is contained in:
parent
21a5d4160c
commit
84bb63ccc8
@ -838,7 +838,6 @@ sub create_res {
|
|||||||
my $primary;
|
my $primary;
|
||||||
my $replay_nr = -1;
|
my $replay_nr = -1;
|
||||||
if ($create) {
|
if ($create) {
|
||||||
_create_cluster(@_);
|
|
||||||
mkdir($resdir);
|
mkdir($resdir);
|
||||||
ldie "could not create resource '$res'\n" unless -d $resdir;
|
ldie "could not create resource '$res'\n" unless -d $resdir;
|
||||||
set_link($size, "$resdir/size");
|
set_link($size, "$resdir/size");
|
||||||
|
Loading…
Reference in New Issue
Block a user