From bb49f2c4a82de5d1e8f6e709c636acd0c99eae45 Mon Sep 17 00:00:00 2001 From: Ian Armour Date: Wed, 30 Sep 2020 14:06:06 -0700 Subject: [PATCH] Used wrong locale for urls --- cmd/nvidia-clerk/nvidia-clerk.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/nvidia-clerk/nvidia-clerk.go b/cmd/nvidia-clerk/nvidia-clerk.go index 05430b8..a314bdb 100644 --- a/cmd/nvidia-clerk/nvidia-clerk.go +++ b/cmd/nvidia-clerk/nvidia-clerk.go @@ -80,11 +80,11 @@ func main() { var cartURL string switch model { case "2060": - cartURL = fmt.Sprintf("https://www.nvidia.com/%s/geforce/20-series/", config.Locale) + cartURL = fmt.Sprintf("https://www.nvidia.com/%s/geforce/20-series/", config.NvidiaLocale) case "3080": - cartURL = fmt.Sprintf("https://www.nvidia.com/%s/geforce/graphics-cards/30-series/rtx-%s/", config.Locale, model) + cartURL = fmt.Sprintf("https://www.nvidia.com/%s/geforce/graphics-cards/30-series/rtx-%s/", config.NvidiaLocale, model) case "3090": - cartURL = fmt.Sprintf("https://www.nvidia.com/%s/geforce/graphics-cards/30-series/rtx-%s/", config.Locale, model) + cartURL = fmt.Sprintf("https://www.nvidia.com/%s/geforce/graphics-cards/30-series/rtx-%s/", config.NvidiaLocale, model) default: cartURL = "https://www.nvidia.com/" }