Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cloudinit/sources/DataSourceOracle.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ class DataSourceOracleNet(DataSourceOracle):
perform_dhcp_setup = False


def _read_system_uuid() -> Optional[str]:
def _read_system_uuid(): # removed return typehint to test github action
sys_uuid = dmi.read_dmi_data("system-uuid")
return None if sys_uuid is None else sys_uuid.lower()

Expand All @@ -377,7 +377,7 @@ def _is_platform_viable() -> bool:
return asset_tag == CHASSIS_ASSET_TAG


def _url_version(url: str) -> int:
def _url_version(url) -> int: # removed arg typehint to test github action
return 2 if url.startswith("http://169.254.169.254/opc/v2") else 1


Expand Down