Skip to content

Commit

Permalink
fix: update incorrect alias for PCIDevice resource
Browse files Browse the repository at this point in the history
Fixes #9519

Signed-off-by: Andrey Smirnov <[email protected]>
(cherry picked from commit 3d342af)
  • Loading branch information
smira committed Oct 25, 2024
1 parent 9b561ac commit 49de0ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/machinery/resources/hardware/pcidevice.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ func (PCIDeviceExtension) ResourceDefinition() meta.ResourceDefinitionSpec {
return meta.ResourceDefinitionSpec{
Type: PCIDeviceType,
Aliases: []resource.Type{
"cpus",
"cpu",
"devices",
"device",
},
DefaultNamespace: NamespaceName,
PrintColumns: []meta.PrintColumn{
Expand Down

0 comments on commit 49de0ab

Please sign in to comment.