mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Merge remote-tracking branch 'origin/4.15'
This commit is contained in:
commit
9ce70afccf
@ -20,6 +20,7 @@ import java.lang.reflect.Field;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.LinkedHashSet;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
@ -67,7 +68,7 @@ public class ApiDiscoveryServiceImpl extends ComponentLifecycleBase implements A
|
||||
if (s_apiNameDiscoveryResponseMap == null) {
|
||||
long startTime = System.nanoTime();
|
||||
s_apiNameDiscoveryResponseMap = new HashMap<String, ApiDiscoveryResponse>();
|
||||
Set<Class<?>> cmdClasses = new HashSet<Class<?>>();
|
||||
Set<Class<?>> cmdClasses = new LinkedHashSet<Class<?>>();
|
||||
for (PluggableService service : _services) {
|
||||
s_logger.debug(String.format("getting api commands of service: %s", service.getClass().getName()));
|
||||
cmdClasses.addAll(service.getCommands());
|
||||
|
||||
@ -33,7 +33,7 @@ while getopts 'c:' OPTION; do
|
||||
esac; done
|
||||
|
||||
export DEFER_CONFIG=true
|
||||
while read line; do
|
||||
cat $cfg | while read line; do
|
||||
#comment
|
||||
if [[ $line == \#* ]]; then
|
||||
continue
|
||||
@ -74,7 +74,7 @@ while read line; do
|
||||
|
||||
fi
|
||||
|
||||
done < $cfg
|
||||
done
|
||||
|
||||
# archive the configuration file
|
||||
mv $cfg /var/cache/cloud/processed/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user