shared: remove ubuntu architecture map

Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
This commit is contained in:
Thomas Hipp 2018-02-13 09:23:22 +01:00
parent 6da9f1dd24
commit 9fb9fadda0
No known key found for this signature in database
GPG Key ID: 993408D1137B7D51
2 changed files with 0 additions and 11 deletions

View File

@ -29,7 +29,6 @@ var distroArchitecture = map[string]map[int]string{
"alpinelinux": alpineLinuxArchitectureNames,
"centos": centosArchitectureNames,
"debian": debianArchitectureNames,
"ubuntu": debianArchitectureNames,
}
// GetArch returns the correct architecture name used by the specified

View File

@ -36,16 +36,6 @@ func TestGetArch(t *testing.T) {
"s390x",
"s390x",
},
{
"ubuntu",
"amd64",
"amd64",
},
{
"ubuntu",
"x86_64",
"amd64",
},
}
for i, tt := range tests {