Commit 99a14bc9d22cdda7d1559e0b287dd8c9b88cb8f9

Authored by Alexis Koralewski
1 parent d1bf8bae
Exists in dev

fix error last commit

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/core/pyros_django/obs_config/obsconfig_class.py
... ... @@ -1354,7 +1354,7 @@ class OBSConfig:
1354 1354 """
1355 1355 computer_agents = self.get_agents_per_computer(computer_hostname)
1356 1356 for computer_agent_name in computer_agents.keys():
1357   - if computer_agent_name.startswith(agent_name):
  1357 + if agent_name in computer_agent_name:
1358 1358 return computer_agent_name
1359 1359 return agent_name
1360 1360  
... ...