Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Commit

Permalink
fix errors go vet brought up
Browse files Browse the repository at this point in the history
  • Loading branch information
perigrin committed Jan 27, 2020
1 parent f8c0852 commit 1af623a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion devices.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ type DeviceLocation struct {
RackName string `json:"rack"`
RackUnitStart int `json:"rack_unit_start" faker:"rack_unit_start"`
TargetHardwareProduct struct {
ID uuid.UUID `json:"id" faker"uuid"`
ID uuid.UUID `json:"id" faker:"uuid"`
Name string `json:"name"`
Alias string `json:"alias"`
Vendor string `json:"hardware_vendor_id"`
Expand Down
4 changes: 2 additions & 2 deletions racks.go
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,8 @@ type RackLayoutSlot struct {
RackName string `json:"rack_name"`
SKU string `json:"sku"`
HardwareProductID uuid.UUID `json:"hardware_product_id" faker:"uuid"`
RackUnitStart int `json:"rack_unit_start", faker:"rack_unit_start"`
RackUnitSize int `json:"rack_unit_size", faker:"rack_unit_size"`
RackUnitStart int `json:"rack_unit_start" faker:"rack_unit_start"`
RackUnitSize int `json:"rack_unit_size" faker:"rack_unit_size"`
Created time.Time `json:"created" faker:"-"`
Updated time.Time `json:"updated" faker:"-"`
}
Expand Down

0 comments on commit 1af623a

Please sign in to comment.