Skip to content

Commit eea770e

Browse files
brueleahenrybear327
andcommitted
use IPv4Family constant in test
Co-authored-by: Chun-Hung Tseng <henrybear327@users.noreply.github.com>
1 parent 212a338 commit eea770e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/netbox/api/ip_address_claim_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ func TestIPAddressClaim(t *testing.T) {
127127
Payload: []*netboxModels.AvailableIP{
128128
{
129129
Address: ipAddressV4_2,
130-
Family: int64(4),
130+
Family: int64(IPv4Family),
131131
},
132132
}}
133133

0 commit comments

Comments
 (0)