fix bad parameters to version_storage install methods
Arthur Axel 'fREW' Schmidt [Mon, 14 Jun 2010 15:50:49 +0000 (10:50 -0500)]
lib/DBIx/Class/DeploymentHandler.pm

index 27b1bf3..376138d 100644 (file)
@@ -31,17 +31,17 @@ with 'DBIx::Class::DeploymentHandler::WithReasonableDefaults';
 sub prepare_version_storage_install {
   my $self = shift;
 
-  $self->prepare_resultsource_install(
-    $self->version_storage->version_rs->result_source
-  );
+  $self->prepare_resultsource_install({
+    result_source => $self->version_storage->version_rs->result_source
+  });
 }
 
 sub install_version_storage {
   my $self = shift;
 
-  $self->install_resultsource(
-    $self->version_storage->version_rs->result_source
-  );
+  $self->install_resultsource({
+    result_source => $self->version_storage->version_rs->result_source
+  });
 }
 
 sub prepare_install {