Skip to content

Commit dc592c7

Browse files
Rename pools to ranges in Instance.ips (#288)
1 parent af3c727 commit dc592c7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

linode_api4/objects/linode.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ def ips(self):
465465
result["ipv6"]["link_local"],
466466
)
467467

468-
pools = [
468+
ranges = [
469469
IPv6Range(self._client, r["range"])
470470
for r in result["ipv6"]["global"]
471471
]
@@ -481,7 +481,7 @@ def ips(self):
481481
"ipv6": {
482482
"slaac": slaac,
483483
"link_local": link_local,
484-
"pools": pools,
484+
"ranges": ranges,
485485
},
486486
}
487487
)

test/objects/linode_test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ def test_ips(self):
340340
self.assertIsNotNone(ips.ipv4.reserved)
341341
self.assertIsNotNone(ips.ipv6.slaac)
342342
self.assertIsNotNone(ips.ipv6.link_local)
343-
self.assertIsNotNone(ips.ipv6.pools)
343+
self.assertIsNotNone(ips.ipv6.ranges)
344344

345345
def test_initiate_migration(self):
346346
"""

0 commit comments

Comments
 (0)