We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 796a314 commit 2130c66Copy full SHA for 2130c66
1 file changed
linode_api4/objects/linode.py
@@ -2016,7 +2016,7 @@ def linode_interfaces(self) -> Optional[list[LinodeInterface]]:
2016
:rtype: Optional[list[LinodeInterface]]
2017
"""
2018
2019
- if self.interface_generation != "linode":
+ if self.interface_generation != InterfaceGeneration.LINODE:
2020
return None
2021
if not hasattr(self, "_interfaces"):
2022
result = self._client.get(
0 commit comments