Skip to content

Commit 3027c20

Browse files
committed
Address nits on lib/placement for extracted placement
Earlier review [1] suggested some cleanups which have been done here: * Removing a redundant call from cleanup_placement * Fixing a typo in a comment [1] https://review.openstack.org/#/c/600162/15/lib/placement Change-Id: I8abd2f02b123c6c1937c026ff13eb4e600de3202
1 parent 78a564b commit 3027c20

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎lib/placement‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ function is_placement_enabled {
6262
# cleanup_placement() - Remove residual data files, anything left over from previous
6363
# runs that a clean run would need to clean up
6464
function cleanup_placement {
65-
sudo rm -f $(apache_site_config_for nova-placement-api)
6665
sudo rm -f $(apache_site_config_for placement-api)
6766
remove_uwsgi_config "$PLACEMENT_UWSGI_CONF" "$PLACEMENT_UWSGI"
6867
sudo rm -f $PLACEMENT_AUTH_CACHE_DIR/*
@@ -107,7 +106,7 @@ function configure_placement_nova_compute {
107106
iniset $conf placement auth_strategy $PLACEMENT_AUTH_STRATEGY
108107
}
109108

110-
# create_placement_conf() - Write confg
109+
# create_placement_conf() - Write config
111110
function create_placement_conf {
112111
rm -f $PLACEMENT_CONF
113112
iniset $PLACEMENT_CONF placement_database connection `database_connection_url placement`

0 commit comments

Comments
 (0)