Skip to content

Commit ae85071

Browse files
committed
Correctly fixed how selected packages are defined
Fixed creating an empty array way breaking check down the stack.o See https://github.com/elastic/beats/blob/6b417428d30971c75469651419cf39874189f268/dev-tools/mage/pkg.go#L121
1 parent a473d94 commit ae85071

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dev-tools/mage/crossbuild.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const defaultCrossBuildTarget = "golangCrossBuild"
4444
var Platforms = BuildPlatforms.Defaults()
4545

4646
// SelectedPackageTypes is the list of package types
47-
var SelectedPackageTypes []PackageType = []PackageType{}
47+
var SelectedPackageTypes []PackageType
4848

4949
func init() {
5050
// Allow overriding via PLATFORMS.

0 commit comments

Comments
 (0)