Update to work with Netbox >= 2.7.

This commit is contained in:
Kalle Carlbark 2020-02-24 15:25:26 +01:00
parent 42a0bb87e1
commit d6623a46c9
No known key found for this signature in database
GPG key ID: 5E4BAB01A57CDD62

View file

@ -86,7 +86,7 @@ type DcimDevicesList struct {
} `json:"parent_device"`
Status struct {
Label string `json:"label"`
Value int `json:"value"`
Value string `json:"value"`
} `json:"status"`
PrimaryIP struct {
ID int `json:"id"`