fix rest call for scanRepositoryNow fullScan parameter was not honoured

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233135 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-01-19 00:01:42 +00:00
parent bf40346375
commit 839d3e0028
2 changed files with 2 additions and 2 deletions

View File

@ -550,7 +550,7 @@ public class DefaultManagedRepositoryAdmin
if ( context != null ) if ( context != null )
{ {
log.debug( "skip adding repository with id {} as already exists", repository.getId() ); log.debug( "skip adding repository indexingContent with id {} as already exists", repository.getId() );
return context; return context;
} }

View File

@ -202,7 +202,7 @@ public class DefaultRepositoriesService
ArtifactIndexingTask task = ArtifactIndexingTask task =
new ArtifactIndexingTask( repository, null, ArtifactIndexingTask.Action.FINISH, context ); new ArtifactIndexingTask( repository, null, ArtifactIndexingTask.Action.FINISH, context );
task.setExecuteOnEntireRepo( true ); task.setExecuteOnEntireRepo( fullScan );
task.setOnlyUpdate( false ); task.setOnlyUpdate( false );
archivaIndexingTaskExecutor.executeTask( task ); archivaIndexingTaskExecutor.executeTask( task );