You've already forked armbian-router
mirror of
https://github.com/armbian/armbian-router.git
synced 2026-01-06 10:37:03 -08:00
fix property names
This commit is contained in:
committed by
M. Efe Çetin
parent
fe5b11d0e4
commit
4c04e98b62
9
map.go
9
map.go
@@ -54,10 +54,10 @@ type ReleaseFile struct {
|
||||
FileURLTorrent string `json:"file_url_torrent"`
|
||||
FileUpdated string `json:"file_updated"`
|
||||
FileSize string `json:"file_size"`
|
||||
DistroRelease string `json:"distro_release"`
|
||||
KernelBranch string `json:"kernel_branch"`
|
||||
ImageVariant string `json:"image_variant"`
|
||||
Preinstalled string `json:"preinstalled_application"`
|
||||
DistroRelease string `json:"distro"`
|
||||
KernelBranch string `json:"branch"`
|
||||
ImageVariant string `json:"variant"`
|
||||
Preinstalled string `json:"file_application"`
|
||||
Promoted string `json:"promoted"`
|
||||
Repository string `json:"download_repository"`
|
||||
Extension string `json:"file_extension"`
|
||||
@@ -118,6 +118,7 @@ func loadMapJSON(f io.Reader, specialExtensions map[string]string) (map[string]s
|
||||
for k, v := range specialExtensions {
|
||||
if strings.Contains(file.Extension, k) {
|
||||
sb.WriteString(v)
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user