Theo pushed to branch main at Root / Netboxadm

Commits:

1 changed file:

Changes:

  • internal/models/virtual_machine.go
    ... ... @@ -13,7 +13,7 @@ type VirtualMachine struct {
    13 13
     	Cluster          ClusterBrief    `json:"cluster"`
    
    14 14
     	Device           GenericObject   `json:"device"`
    
    15 15
     	Serial           string          `json:"serial,omitempty"`
    
    16
    -	Role             string          `json:"role,omitempty"`
    
    16
    +	Role             DeviceRole      `json:"role"`
    
    17 17
     	Tenant           string          `json:"tenant,omitempty"`
    
    18 18
     	Platform         string          `json:"platform,omitempty"`
    
    19 19
     	PrimaryIp        *IpAddressBrief `json:"primary_ip,omitempty"`