Skip to content

Commit

Permalink
Fix incorrect config path
Browse files Browse the repository at this point in the history
  • Loading branch information
aieri committed Dec 21, 2024
1 parent f619514 commit 1e5b7f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/functional/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ async def run_command_on_unit(ops_test, unit_name, command):

async def get_hardware_exporter_config(ops_test, unit_name) -> dict:
"""Return hardware-exporter config from endpoint on unit."""
command = "cat /etc/hardware-exporter/config.yaml"
command = "cat /etc/hardware-exporter-config.yaml"
results = await run_command_on_unit(ops_test, unit_name, command)
if results.get("return-code") > 0:
raise HardwareExporterConfigError
Expand Down

0 comments on commit 1e5b7f6

Please sign in to comment.