Skip to content

Commit

Permalink
config/asrockrack.go, config/dell.go: Add dummy Unimplemented BootOrd…
Browse files Browse the repository at this point in the history
…er() functions
  • Loading branch information
splaspood committed Jul 18, 2024
1 parent 1eff505 commit 4150ec4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/asrockrack.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ func (cm *asrockrackVendorConfig) StandardConfig() (biosConfig map[string]string

// Generic config options

func (cm *asrockrackVendorConfig) BootOrder(mode string) error {
// Unimplemented
return

Check failure on line 120 in config/asrockrack.go

View workflow job for this annotation

GitHub Actions / lint

not enough return values

Check failure on line 120 in config/asrockrack.go

View workflow job for this annotation

GitHub Actions / lint

not enough return values

Check failure on line 120 in config/asrockrack.go

View workflow job for this annotation

GitHub Actions / lint

not enough return values

Check failure on line 120 in config/asrockrack.go

View workflow job for this annotation

GitHub Actions / lint

not enough return values
}

func (cm *asrockrackVendorConfig) EnableTPM() {
// Unimplemented
}
Expand Down
5 changes: 5 additions & 0 deletions config/dell.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,11 @@ func (cm *dellVendorConfig) StandardConfig() (biosConfig map[string]string, err

// Generic config options

func (cm *dellVendorConfig) BootOrder(mode string) error {
// Unimplemented
return

Check failure on line 144 in config/dell.go

View workflow job for this annotation

GitHub Actions / lint

not enough return values

Check failure on line 144 in config/dell.go

View workflow job for this annotation

GitHub Actions / lint

not enough return values

Check failure on line 144 in config/dell.go

View workflow job for this annotation

GitHub Actions / lint

not enough return values

Check failure on line 144 in config/dell.go

View workflow job for this annotation

GitHub Actions / lint

not enough return values
}

func (cm *dellVendorConfig) EnableTPM() {
cm.Raw("EnableTPM", "Enabled", []string{"BIOS.Setup.1-1"})
}
Expand Down

0 comments on commit 4150ec4

Please sign in to comment.