Skip to content

Commit

Permalink
core: services: beacon: Fix V2->V3 settings migration
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoantoniocardoso authored and patrickelectric committed Aug 1, 2023
1 parent e113317 commit a12d70b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/services/beacon/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def migrate(self, data: Dict[str, Any]) -> None:
try:
if not any(interface["name"] == "uap0" for interface in data["interfaces"]):
data["interfaces"].append(
Interface(name="uap0", domain_names=["blueos-hotspot"], advertise=["_http"], ip="ips[0]").as_dict()
Interface(name="uap0", domain_names=["blueos-hotspot"], advertise=["_http"], ip="ips[0]")._data
)
except Exception as e:
logger.error(f"unable to update SettingsV2 to SettingsV3: {e}")
Expand Down

0 comments on commit a12d70b

Please sign in to comment.