Update to work with Netbox >= 2.7.
This commit is contained in:
parent
42a0bb87e1
commit
d6623a46c9
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ type DcimDevicesList struct {
|
||||||
} `json:"parent_device"`
|
} `json:"parent_device"`
|
||||||
Status struct {
|
Status struct {
|
||||||
Label string `json:"label"`
|
Label string `json:"label"`
|
||||||
Value int `json:"value"`
|
Value string `json:"value"`
|
||||||
} `json:"status"`
|
} `json:"status"`
|
||||||
PrimaryIP struct {
|
PrimaryIP struct {
|
||||||
ID int `json:"id"`
|
ID int `json:"id"`
|
||||||
|
|
Loading…
Reference in a new issue