Skip to content

Commit

Permalink
handle complete state while waiting migration to be in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
kutluhanmetin committed Nov 3, 2023
1 parent 0ba87e6 commit ab133ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/commands/migration/migration_stages.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ func WaitForMigrationToBeInProgress(ctx context.Context, ci *hazelcast.ClientInt
}
return errors.New(errs)
}
if Status(status) == StatusInProgress {
if Status(status) == StatusInProgress || Status(status) == StatusComplete {
return nil
}
}
Expand Down

0 comments on commit ab133ba

Please sign in to comment.