Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
satellite/{nodeselection,overlay}: bump common and fix some potential…
… issues * Handle failed country code conversion. * Avoid potential issues with a data-race due to shared slice. Updates #6028 Change-Id: If7beef2619abd084e1f4109de2d323f834a6090a
- Loading branch information
Showing
11 changed files
with
78 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
// Copyright (C) 2023 Storj Labs, Inc. | ||
// See LICENSE for copying information. | ||
|
||
package nodeselection | ||
|
||
import "storj.io/common/storj/location" | ||
|
||
// EuCountries defines the member countries of European Union. | ||
var EuCountries = []location.CountryCode{ | ||
location.Austria, | ||
location.Belgium, | ||
location.Bulgaria, | ||
location.Croatia, | ||
location.Cyprus, | ||
location.Czechia, | ||
location.Denmark, | ||
location.Estonia, | ||
location.Finland, | ||
location.France, | ||
location.Germany, | ||
location.Greece, | ||
location.Hungary, | ||
location.Ireland, | ||
location.Italy, | ||
location.Lithuania, | ||
location.Latvia, | ||
location.Luxembourg, | ||
location.Malta, | ||
location.Netherlands, | ||
location.Poland, | ||
location.Portugal, | ||
location.Romania, | ||
location.Slovenia, | ||
location.Slovakia, | ||
location.Spain, | ||
location.Sweden, | ||
} | ||
|
||
// EeaCountries defined the EEA countries. | ||
var EeaCountries = append(EuCountries, | ||
location.Iceland, | ||
location.Liechtenstein, | ||
location.Norway, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters