Browse Source

Fix minor typos in chinese spelling

Change-Id: I531edc8d3d157417c8a4a83685af76c6a610131d
changes/27/548127/2
wangqi 3 years ago
parent
commit
462561c104
4 changed files with 11 additions and 11 deletions
  1. +7
    -7
      devstack/plugin.sh
  2. +1
    -1
      qinling_tempest_plugin/config.py
  3. +2
    -2
      qinling_tempest_plugin/plugin.py
  4. +1
    -1
      tools/cover.sh

+ 7
- 7
devstack/plugin.sh View File

@ -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


+ 1
- 1
qinling_tempest_plugin/config.py View File

@ -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",


+ 2
- 2
qinling_tempest_plugin/plugin.py View File

@ -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):


+ 1
- 1
tools/cover.sh View File

@ -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…
Cancel
Save