Skip to content

Commit

Permalink
refactor: update function name from FindeUICCManifest to FindEum
Browse files Browse the repository at this point in the history
  • Loading branch information
damonto committed Jun 15, 2024
1 parent 93a725a commit 03e3224
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/app/handler/chip.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Free Space: %d KiB
Sign Keys:
%s
`
country, manufacturer, productName := util.FindeUICCManifest(chip.EID)
country, manufacturer, productName := util.FindEum(chip.EID)
var manufacturerReplacement string
if country != "" {
manufacturerReplacement += string(0x1F1E6+rune(country[0])-'A') + string(0x1F1E6+rune(country[1])-'A')
Expand Down
2 changes: 1 addition & 1 deletion internal/pkg/util/euicc.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func FincCertificateIssuer(keyID string) string {
return keyID
}

func FindeUICCManifest(eid string) (string, string, string) {
func FindEum(eid string) (string, string, string) {
var country, manufacturer, productName string
for _, manifest := range EUMs {
if strings.HasPrefix(eid, manifest.EUM) {
Expand Down

0 comments on commit 03e3224

Please sign in to comment.