IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 41063


Ignore:
Timestamp:
Nov 5, 2019, 11:49:27 AM (7 years ago)
Author:
eugene
Message:

use the value 1 instead of "find them all" to delete an invalid instance

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20191011/Nebulous/lib/Nebulous/Client.pm

    r41055 r41063  
    428428
    429429        if (defined $locations) {
     430            print "dev: looking for undef volume instances\n";
    430431            # first delete the valid instances (except the one we own)
    431432            my $instances_valid = $self->find_instances($key, undef, 0); # find all valid instances
     
    12071208    my $locations;
    12081209    if ($invalid) {
    1209         # XXX this is an example of passing 'find_invalid' to find_instances
    1210         $locations = $self->find_instances( $key, 'any', 'find them all');
     1210        # delete the invalid instances:
     1211        $locations = $self->find_instances( $key, 'any', 1);
    12111212    }
    12121213    else {
Note: See TracChangeset for help on using the changeset viewer.