Skip to content

Commit

Permalink
constants: NIC ports get a slug
Browse files Browse the repository at this point in the history
So they can be identified as separate components
  • Loading branch information
joelrebel committed Oct 31, 2024
1 parent 8c478be commit 7694d5b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ const (
SlugDriveTypeSATAHDD = "Sata-HDD"
SlugNIC = "NIC"
SlugNICs = "NICs"
SlugNICPort = "NICPort"
SlugNICPorts = "NICPorts"
SlugPSU = "Power-Supply"
SlugPSUs = "Power-Supplies"
SlugCPLD = "CPLD"
Expand Down Expand Up @@ -85,6 +87,8 @@ func ComponentTypes() []string {
SlugDriveTypeSATAHDD,
SlugNIC,
SlugNICs,
SlugNICPort,
SlugNICPorts,
SlugPSU,
SlugPSUs,
SlugCPLD,
Expand Down

0 comments on commit 7694d5b

Please sign in to comment.