IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 19, 2008, 3:47:08 PM (18 years ago)
Author:
jhoblitt
Message:

add support for the magical ':any' volume to Nebulous::Server:find_instances()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/lib/Nebulous/Server.pm

    r17716 r17753  
    11# Copyright (c) 2004-2008  Joshua Hoblitt
    22#
    3 # $Id: Server.pm,v 1.72 2008-05-16 20:22:29 jhoblitt Exp $
     3# $Id: Server.pm,v 1.73 2008-05-20 01:47:08 jhoblitt Exp $
    44
    55package Nebulous::Server;
     
    928928    }
    929929
     930    # handle :any volume
     931    if ($vol_name eq ':any') {
     932        $vol_name = undef;
     933    }
     934
    930935    my @locations;
    931936    eval {
     
    12281233    my $db  =$self->db;
    12291234
     1235    # handle ":any" volume
     1236    if ($vol_name eq ':any') {
     1237        return 1;
     1238    }
     1239
    12301240    my ($vol_id, $vol_path);
    12311241    eval {
Note: See TracChangeset for help on using the changeset viewer.