updated vendor

This commit is contained in:
2026-06-16 08:02:19 +02:00
parent 2f7f99d3f0
commit 77299d0c64
1283 changed files with 67302 additions and 208958 deletions
+2 -1
View File
@@ -18,6 +18,7 @@ package registry
import (
"encoding/json"
"errors"
"fmt"
"strings"
@@ -190,7 +191,7 @@ func GetPluginName(source string) (string, error) {
// e.g., "ghcr.io/user/plugin-name:v1.0.0" -> Repository: "user/plugin-name"
repository := ref.Repository
if repository == "" {
return "", fmt.Errorf("invalid OCI reference: missing repository")
return "", errors.New("invalid OCI reference: missing repository")
}
// Get the last part of the repository path as the plugin name