Add forgotten deletion in metadata folder setup
Change-Id: If56fe6ca502a33de11ad9c7f1153c5ff440ba577
This commit is contained in:
committed by
Gerrit Code Review
parent
e6c4d8f2c6
commit
ff52f227c2
@@ -152,6 +152,7 @@ def prepare(data_dir):
|
||||
if os.path.exists(agent_config_dst):
|
||||
log.info("Found existing agent config directory at"
|
||||
" '{0}'. Deleting it.'".format(agent_config_dst))
|
||||
shutil.rmtree(agent_config_dst)
|
||||
log.info("Copying agent config directory from '{0}' "
|
||||
"to '{1}'".format(CONF.agent_config_dir, agent_config_dst))
|
||||
shutil.copytree(CONF.agent_config_dir, agent_config_dst)
|
||||
|
||||
Reference in New Issue
Block a user