Skip to content

Commit 831c54c

Browse files
linter is only showing one problem at a time
1 parent 40fb520 commit 831c54c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/remotewrite/remote_write_url.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func licenseGetRegion(licenseKey string) string {
6262

6363
func WithLicense(license string) URLOption {
6464
return func(u *URL) {
65-
var region = licenseGetRegion(license)
65+
region := licenseGetRegion(license)
6666
if region != "" && region != "gov" {
6767
u.RegionPrefix = region + "."
6868
} else {

0 commit comments

Comments
 (0)