Skip to content

Commit

Permalink
use unknown verb instead blank on check model and serial number
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpalide committed Dec 30, 2021
1 parent 54a7ffa commit f8c71b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/visor/visor.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ func (v *Visor) HostKeeper(skybianBuildVersion string) {
}
model = baseboardInfo.Vendor
serialNumber = baseboardInfo.SerialNumber
if model == "" || serialNumber == "" {
if model == "unknown" || serialNumber == "unknown" {
productInfo, err := product.New(ghw.WithDisableWarnings())
if err != nil {
logger.Errorf("Error during get information of host due to %v", err)
Expand Down

0 comments on commit f8c71b7

Please sign in to comment.