interface{} -> any

This commit is contained in:
Evan Jarrett
2026-01-04 21:10:29 -06:00
parent aa4b32bbd6
commit a7175f9e3e
13 changed files with 32 additions and 32 deletions
+1 -1
View File
@@ -397,7 +397,7 @@ func serveRegistry(cmd *cobra.Command, args []string) error {
return
}
var metadataMap map[string]interface{}
var metadataMap map[string]any
if err := json.Unmarshal(metadataBytes, &metadataMap); err != nil {
http.Error(w, "Failed to unmarshal metadata", http.StatusInternalServerError)
return