Fix minor typos in chinese spelling
Change-Id: I531edc8d3d157417c8a4a83685af76c6a610131d
This commit is contained in:
parent
e1e47548bf
commit
462561c104
@ -104,15 +104,15 @@ function start_qinling {
|
||||
}
|
||||
|
||||
|
||||
function stop_qingling {
|
||||
function stop_qinling {
|
||||
local serv
|
||||
for serv in qinling-api qingling-engine; do
|
||||
for serv in qinling-api qinling-engine; do
|
||||
stop_process $serv
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
function cleanup_qingling {
|
||||
function cleanup_qinling {
|
||||
sudo rm -rf $QINLING_AUTH_CACHE_DIR
|
||||
sudo rm -rf $QINLING_CONF_DIR
|
||||
}
|
||||
@ -147,13 +147,13 @@ if is_service_enabled qinling; then
|
||||
fi
|
||||
|
||||
if [[ "$1" == "unstack" ]]; then
|
||||
echo_summary "Shutting down qingling"
|
||||
stop_qingling
|
||||
echo_summary "Shutting down qinling"
|
||||
stop_qinling
|
||||
fi
|
||||
|
||||
if [[ "$1" == "clean" ]]; then
|
||||
echo_summary "Cleaning qingling"
|
||||
cleanup_qingling
|
||||
echo_summary "Cleaning qinling"
|
||||
cleanup_qinling
|
||||
fi
|
||||
fi
|
||||
|
||||
|
@ -23,7 +23,7 @@ service_option = cfg.BoolOpt(
|
||||
)
|
||||
|
||||
|
||||
qingling_group = cfg.OptGroup(name="qingling", title="Qinling Service Options")
|
||||
qinling_group = cfg.OptGroup(name="qinling", title="Qinling Service Options")
|
||||
|
||||
QinlingGroup = [
|
||||
cfg.StrOpt("region",
|
||||
|
@ -36,13 +36,13 @@ class QinlingTempestPlugin(plugins.TempestPlugin):
|
||||
qinling_config.service_option, group='service_available'
|
||||
)
|
||||
|
||||
conf.register_group(qinling_config.qingling_group)
|
||||
conf.register_group(qinling_config.qinling_group)
|
||||
conf.register_opts(qinling_config.QinlingGroup, group='qinling')
|
||||
|
||||
def get_opt_lists(self):
|
||||
return [
|
||||
('service_available', [qinling_config.service_option]),
|
||||
(qinling_config.qingling_group.name, qinling_config.QinlingGroup)
|
||||
(qinling_config.qinling_group.name, qinling_config.QinlingGroup)
|
||||
]
|
||||
|
||||
def get_service_clients(self):
|
||||
|
@ -36,7 +36,7 @@ git checkout -
|
||||
[[ -n $uncommitted ]] && git stash pop > /dev/null
|
||||
|
||||
# Generate and save coverage report
|
||||
current_report=$(mktemp -t qingling_coverageXXXXXXX)
|
||||
current_report=$(mktemp -t qinling_coverageXXXXXXX)
|
||||
find . -type f -name "*.py[c|o]" -delete && stestr run "$TESTR_ARGS" && coverage combine && coverage html -d cover
|
||||
coverage report --ignore-errors > $current_report
|
||||
current_missing=$(awk 'END { print $3 }' $current_report)
|
||||
|
Loading…
Reference in New Issue
Block a user