Skip to content

Commit

Permalink
format pciid
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Zappa <michaelzappa@microsoft.com>
  • Loading branch information
MikeZappa87 committed Feb 26, 2024
1 parent 5c95907 commit 4e448c1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pkg/types/100/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ type Interface struct {
Mac string `json:"mac,omitempty"`
Sandbox string `json:"sandbox,omitempty"`
SocketPath string `json:"socket_path,omitempty"`
PCIID string `json:"pci_id,omitempty"`
PciID string `json:"pci_id,omitempty"`
}

func (i *Interface) String() string {
Expand Down
2 changes: 1 addition & 1 deletion pkg/types/100/types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func testResult() *current.Result {
Name: "eth0",
Mac: "00:11:22:33:44:55",
Sandbox: "/proc/3553/ns/net",
PCIID: "8086:9a01",
PciID: "8086:9a01",
SocketPath: "/path/to/vhost/fd",
},
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/types/types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ var _ = Describe("Types", func() {
Name: "eth0",
Mac: "00:11:22:33:44:55",
Sandbox: "/proc/3553/ns/net",
PCIID: "8086:9a01",
PciID: "8086:9a01",
SocketPath: "/path/to/vhost/fd",
},
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/version/version_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ var _ = Describe("Version operations", func() {
Name: "eth0",
Mac: "00:11:22:33:44:55",
Sandbox: "/proc/3553/ns/net",
PCIID: "8086:9a01",
PciID: "8086:9a01",
SocketPath: "/path/to/vhost/fd",
},
},
Expand Down

0 comments on commit 4e448c1

Please sign in to comment.