Commit d1bf8bae5b67ac1fd1e56365d0ba1591b54d2f06
1 parent
2826d518
Exists in
dev
fix error last commit
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/core/pyros_django/obs_config/obsconfig_class.py
... | ... | @@ -1355,10 +1355,10 @@ class OBSConfig: |
1355 | 1355 | computer_agents = self.get_agents_per_computer(computer_hostname) |
1356 | 1356 | for computer_agent_name in computer_agents.keys(): |
1357 | 1357 | if computer_agent_name.startswith(agent_name): |
1358 | - return agent_name | |
1358 | + return computer_agent_name | |
1359 | 1359 | return agent_name |
1360 | 1360 | |
1361 | - | |
1361 | + | |
1362 | 1362 | class MissingMandatoryAgentException(Exception): |
1363 | 1363 | """ |
1364 | 1364 | Exception raised when an mandatory Pyros Agent is missing in the observatory configuration. | ... | ... |