fix bean name

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1403577 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-10-29 23:36:52 +00:00
parent 06133697bc
commit 5a84b6ee7b
1 changed files with 1 additions and 1 deletions

View File

@ -734,7 +734,7 @@ public class ArchivaDavResourceFactory
repositoryLayout = "maven2";
}
RepositoryStorage repositoryStorage =
this.applicationContext.getBean( repositoryLayout, RepositoryStorage.class );
this.applicationContext.getBean( "repositoryStorage#" + repositoryLayout, RepositoryStorage.class );
repositoryStorage.applyServerSideRelocation( managedRepository, artifact );
File proxiedFile = connectors.fetchFromProxies( managedRepository, artifact );