IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39672


Ignore:
Timestamp:
Sep 9, 2016, 11:38:38 AM (10 years ago)
Author:
watersc1
Message:

Typo fix, switch to proximity find.

Location:
branches/czw_branch/20160809/Nebulous-Server
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/20160809/Nebulous-Server/Build.PL

    r39667 r39672  
    4848        bin/neb-voladd
    4949        bin/neb-voladm
     50        bin/neb-aliasadd
    5051        bin/neb-insedit
    5152        bin/neb-host
  • branches/czw_branch/20160809/Nebulous-Server/bin/neb-aliasadd

    r39662 r39672  
    6262    my ($vol_id, $tmp_name);
    6363   
    64     my $vol_query = $db->prepare_cached( $sql->get_volume_by_name );
     64    my $vol_query = $dbh->prepare( $sql->get_volume_by_name );
    6565    $vol_query->execute( $target );
    66     ($vol_id, $tmp_name, undef, undef) = vol_query->fetchrow_array;
     66    ($vol_id, $tmp_name, undef, undef) = $vol_query->fetchrow_array;
    6767    $vol_query->finish;
    6868   
     
    9191    my ($vol_id, $tmp_name);
    9292   
    93     my $vol_query = $db->prepare_cached( $sql->get_volume_by_name );
     93    my $vol_query = $dbh->prepare( $sql->get_volume_by_name );
    9494    $vol_query->execute( $target );
    95     ($vol_id, $tmp_name, undef, undef) = vol_query->fetchrow_array;
     95    ($vol_id, $tmp_name, undef, undef) = $vol_query->fetchrow_array;
    9696    $vol_query->finish;
    9797   
  • branches/czw_branch/20160809/Nebulous-Server/bin/neb-cabadd

    r39662 r39672  
    1919use Pod::Usage qw( pod2usage );
    2020
    21 my ($db, $dbhost, $dbuser, $dbpass, $cname, $location, $site_id, $update);
     21my ($db, $dbhost, $dbuser, $dbpass, $cname, $location, $site_id, $update, $cab_id);
    2222
    2323$db     = $ENV{'NEB_DB'} unless $db;
     
    3434    'location|l=s'      => \$location,
    3535    'site_id|s=s'       => \$site_id,
     36    'cab_id=s'          => \$cab_id,
    3637    'update|u'          => \$update,
    3738) || pod2usage( 2 );
     
    5556
    5657if (defined($update)) {
    57     unless ($cname && $location && $site_id) {
    58         pod2usage( -msg => "Required options for update: --db --user --pass --cname --site_id --location", -exitval => 2 );
     58    unless ($cname && $location && $site_id && $cab_id) {
     59        pod2usage( -msg => "Required options for update: --db --user --pass --cname --site_id --location --cab_id", -exitval => 2 );
    5960    }
    6061    print "Updating cabinet...";
  • branches/czw_branch/20160809/Nebulous-Server/lib/Nebulous/Server.pm

    r39662 r39672  
    17531753}
    17541754
    1755 sub find_instances
     1755sub find_instances_old
    17561756{
    17571757    my $self = shift;
     
    18651865}
    18661866
    1867 sub find_instances_by_proximity
     1867#sub find_instances_by_proximity
     1868sub find_instances
    18681869{
    18691870    my $self = shift;
Note: See TracChangeset for help on using the changeset viewer.