minor update to cp export - eliminate redundant "host" parameter
authorivan <ivan>
Tue, 3 Jun 2003 12:41:50 +0000 (12:41 +0000)
committerivan <ivan>
Tue, 3 Jun 2003 12:41:50 +0000 (12:41 +0000)
FS/FS/part_export.pm
FS/FS/part_export/cp.pm

index 9a1b9d8..06fab6a 100644 (file)
@@ -692,7 +692,6 @@ tie my %cyrus_options, 'Tie::IxHash',
 ;
 
 tie my %cp_options, 'Tie::IxHash',
-  'host'      => { label=>'Hostname' },
   'port'      => { label=>'Port number' },
   'username'  => { label=>'Username' },
   'password'  => { label=>'Password' },
index d998c1d..c37dc3b 100644 (file)
@@ -42,7 +42,7 @@ sub cp_queue {
     'job'    => 'FS::part_export::cp::cp_command',
   };
   $queue->insert(
-    $self->option('host'),
+    $self->machine,
     $self->option('port'),
     $self->option('username'),
     $self->option('password'),