From 1404193a391335292610b5ee10bb77d914c03041 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 5 Feb 2018 21:44:43 -0800 Subject: [PATCH] Rename X86_HTTP_CLIENT to appease golint. --- pixiecore/boot_configuration.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pixiecore/boot_configuration.go b/pixiecore/boot_configuration.go index 0420b5e..cd238b6 100644 --- a/pixiecore/boot_configuration.go +++ b/pixiecore/boot_configuration.go @@ -10,7 +10,7 @@ import ( "time" ) -const X86_HTTP_CLIENT = 0x10 +const x86HTTPClient = 0x10 // StaticBootConfiguration provides values for dhcp options that remain unchanged until restart type StaticBootConfiguration struct { @@ -35,7 +35,7 @@ func MakeStaticBootConfiguration(httpBootURL, ipxeBootURL string, preference uin // GetBootURL returns Boot File URL, see RFC 5970 func (bc *StaticBootConfiguration) GetBootURL(id []byte, clientArchType uint16) ([]byte, error) { - if clientArchType == X86_HTTP_CLIENT { + if clientArchType == x86HTTPClient { return bc.HTTPBootURL, nil } return bc.IPxeBootURL, nil