[Bps-public-commit] SD branch, master, updated. 21e30bf244bcacdff7cd83aeaa3ab59b2f2c3c78

spang at bestpractical.com spang at bestpractical.com
Wed Aug 19 13:34:08 EDT 2009


The branch, master has been updated
       via  21e30bf244bcacdff7cd83aeaa3ab59b2f2c3c78 (commit)
      from  602082a0b0f68318067d1b5cab69aeaee40eb7d2 (commit)

Summary of changes:
 lib/App/SD/CLI/Command/Init.pm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 21e30bf244bcacdff7cd83aeaa3ab59b2f2c3c78
Author: Christine Spang <spang at bestpractical.com>
Date:   Wed Aug 19 18:33:59 2009 +0100

    Minor fix for init command, I didn't end up using this API

diff --git a/lib/App/SD/CLI/Command/Init.pm b/lib/App/SD/CLI/Command/Init.pm
index f9b407e..cb1e8ff 100644
--- a/lib/App/SD/CLI/Command/Init.pm
+++ b/lib/App/SD/CLI/Command/Init.pm
@@ -6,11 +6,11 @@ with 'App::SD::CLI::NewReplicaCommand';
 override run => sub {
     my $self = shift;
 
-    my $create_successful = $self->SUPER::run();
+    $self->SUPER::run();
 
     Prophet::CLI->end_pager();
 
-    $self->new_replica_wizard() if $create_successful;
+    $self->new_replica_wizard();
 };
 
 __PACKAGE__->meta->make_immutable;

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list