Skip to content

Commit 9bcfaff

Browse files
committed
plugins: Add it's to cmdClass in ApiDiscovery, spring fails to self inject
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
1 parent da89946 commit 9bcfaff

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

plugins/api/discovery/src/org/apache/cloudstack/discovery/ApiDiscoveryServiceImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ void init() {
7373
s_logger.debug(String.format("getting api commands of service: %s", service.getClass().getName()));
7474
cmdClasses.addAll(service.getCommands());
7575
}
76+
cmdClasses.addAll(this.getCommands());
7677
cacheResponseMap(cmdClasses);
7778
long endTime = System.nanoTime();
7879
s_logger.info("Api Discovery Service: Annotation, docstrings, api relation graph processed in " + (endTime - startTime) / 1000000.0 + " ms");

0 commit comments

Comments
 (0)