diff options
author | Christian Pointner <equinox@spreadspace.org> | 2015-10-07 00:14:21 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2015-10-07 00:14:21 (GMT) |
commit | fdb8d0f78ad94dbaa352c6bb096cbf63863dfe7d (patch) | |
tree | 6443d650cdba451324eec2a81dfdf2d8a1f3cd9c /utils/rhrd-show | |
parent | ddcb9685d9ab3c59cabfdd69614315af668435ec (diff) |
minor refactoring
Diffstat (limited to 'utils/rhrd-show')
-rwxr-xr-x | utils/rhrd-show | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/rhrd-show b/utils/rhrd-show index 0ad2426..276eaef 100755 --- a/utils/rhrd-show +++ b/utils/rhrd-show @@ -154,7 +154,7 @@ sub add__create_group } print " using carts " . $low_cart . " - " . $high_cart . " for new group .. "; - ($cnt, $status, $errorstring) = RHRD::rddb::set_group_carts($ctx, $groupname, $low_cart, $high_cart, 1, 'Y'); + ($cnt, $status, $errorstring) = RHRD::rddb::set_group_cart_range($ctx, $groupname, $low_cart, $high_cart, 1, 'Y'); unless(defined $cnt) { print STDERR $status . ": " . $errorstring . "\n"; return undef; @@ -176,7 +176,7 @@ sub add__get_free_group_carts { my ($ctx, $groupname, $num_carts) = @_; - my ($low_cart, $high_cart, $type, undef) = RHRD::rddb::get_group_carts($ctx, $groupname); + my ($low_cart, $high_cart, $type, undef) = RHRD::rddb::get_group_cart_range($ctx, $groupname); unless(defined $low_cart) { print STDERR $high_cart . ": " . $type . "\n"; return undef; |