trivial fix

Change-Id: I59d94bc9743b04674caca3ffcb8fc91ba803298c
This commit is contained in:
wu.chunyang 2020-06-01 22:05:12 +08:00
parent 2c7c7747b7
commit 9bee93b201
2 changed files with 4 additions and 4 deletions

View File

@ -339,7 +339,7 @@ class AmphoraComputeConnectivityWait(BaseAmphoraTask):
class AmphoraConfigUpdate(BaseAmphoraTask):
"""Task to push a new amphora agent configuration to the amphroa."""
"""Task to push a new amphora agent configuration to the amphora."""
def execute(self, amphora, flavor):
# Extract any flavor based settings
@ -353,7 +353,7 @@ class AmphoraConfigUpdate(BaseAmphoraTask):
agent_cfg_tmpl = agent_jinja_cfg.AgentJinjaTemplater()
agent_config = agent_cfg_tmpl.build_agent_config(amphora.id, topology)
# Push the new configuration to the amphroa
# Push the new configuration to the amphora
try:
self.amphora_driver.update_amphora_agent_config(amphora,
agent_config)

View File

@ -448,7 +448,7 @@ class AmphoraComputeConnectivityWait(BaseAmphoraTask):
class AmphoraConfigUpdate(BaseAmphoraTask):
"""Task to push a new amphora agent configuration to the amphroa."""
"""Task to push a new amphora agent configuration to the amphora."""
def execute(self, amphora, flavor):
# Extract any flavor based settings
@ -464,7 +464,7 @@ class AmphoraConfigUpdate(BaseAmphoraTask):
amphora.get(constants.ID), topology)
db_amp = self.amphora_repo.get(db_apis.get_session(),
id=amphora[constants.ID])
# Push the new configuration to the amphroa
# Push the new configuration to the amphora
try:
self.amphora_driver.update_amphora_agent_config(db_amp,
agent_config)