common: fix bug in architecture ToString implementation
it used a wrong mapping, replace it with the right one
This commit is contained in:
parent
6b957f01a0
commit
5b0611983a
1 changed files with 1 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ func (arch Architecture) MarshalJSON() ([]byte, error) {
|
|||
}
|
||||
|
||||
func (arch Architecture) ToString() (string, bool) {
|
||||
return toStringHelper(getDistributionMapping(), int(arch))
|
||||
return toStringHelper(getArchMapping(), int(arch))
|
||||
}
|
||||
|
||||
type ImageType int
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue