Skip to content

Commit

Permalink
pbackup: Rename sub move_new to move
Browse files Browse the repository at this point in the history
  • Loading branch information
donald committed Apr 7, 2025
1 parent bc8d7cd commit d429bd2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/pbackup
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ EOF
my ($to) = $datadir_dst =~ m($ROOT/data/([XCM]\d\d\d\d)$);
defined $to or die;
return move_new($job_name, $to, 'MIGRATE');
return move($job_name, $to, 'MIGRATE');
}
sub balance_one {
Expand Down Expand Up @@ -832,7 +832,7 @@ EOF
my ($to) = $datadir_maxfree =~ m($ROOT/data/([XCM]\d\d\d\d)$);
defined $to or die;
return move_new($job_name, $to, 'BALANCE');
return move($job_name, $to, 'BALANCE');
}
sub run_name {
Expand Down Expand Up @@ -897,7 +897,7 @@ sub cmd_disable {
sub cmd_test {
}
sub move_new {
sub move {
my ($job_name, $to, $status_tag) = @_; # 'prj_AGHucho' , [ 'C4123' ] , 'BALANCE'
$status_tag ||= 'BALANCE ';
Expand Down Expand Up @@ -1433,7 +1433,7 @@ sub cmd_move {
die "move code needs review w.r.t. stat_generation\n";
my ($job_name, $to) = @_; # 'prj_AGHucho' , [ 'C4123' ]
upid_register_self();
move_new($job_name, $to, 'MOVE ');
move($job_name, $to, 'MOVE ');
}
sub cmd_do_jobs {
Expand Down

0 comments on commit d429bd2

Please sign in to comment.