distro: rename ListArchs to ListArches

In PR#395 we discussed the spelling of archs vs. arches and we agreed to
use arches. This patch only renames the public method `ListArchs`in the
`Distro` interface.
This commit is contained in:
Martin Sehnoutka 2020-03-30 09:00:51 +02:00 committed by msehnout
parent 57134548a1
commit 92145822d9
13 changed files with 13 additions and 13 deletions

View file

@ -61,7 +61,7 @@ func TestCrossArchDepsolve(t *testing.T) {
// for the remaining distros
continue
}
for _, archStr := range distroStruct.ListArchs() {
for _, archStr := range distroStruct.ListArches() {
arch, err := distroStruct.GetArch(archStr)
assert.Nilf(t, err, "Failed to GetArch from %v structure: %v", distroStruct.Name(), err)
if err != nil {