From f229963a0e20678ec648a70d048ec736c0cb5924 Mon Sep 17 00:00:00 2001 From: Pete Fraedrich Date: Fri, 24 Apr 2020 12:44:46 -0400 Subject: [PATCH] stuff --- hypervisor.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/hypervisor.go b/hypervisor.go index 0e2e370..9154072 100644 --- a/hypervisor.go +++ b/hypervisor.go @@ -1,8 +1,6 @@ package libdetectcloud import ( - "fmt" - "github.com/digitalocean/go-smbios/smbios" ) @@ -31,11 +29,9 @@ func BIOSInfo() (*BIOS, error) { return nil, err } info := []string{} - formatted := []byte{} for _, i := range ss { if i.Header.Type == 1 { info = i.Strings - formatted = i.Formatted } } b := &BIOS{ @@ -43,6 +39,5 @@ func BIOSInfo() (*BIOS, error) { ProductName: info[1], SerialNumber: info[3], } - fmt.Println(string(formatted)) return b, nil }