Merge current v2.11 into v3.0

This commit is contained in:
mmatur
2024-02-08 14:15:45 +01:00
143 changed files with 8736 additions and 6601 deletions
+2 -1
View File
@@ -2,6 +2,7 @@ package plugins
import (
"context"
"errors"
"fmt"
"net/http"
"path/filepath"
@@ -176,7 +177,7 @@ func getWasmPath(manifest *Manifest) (string, error) {
}
if !filepath.IsLocal(wasmPath) {
return "", fmt.Errorf("wasmPath must be a local path")
return "", errors.New("wasmPath must be a local path")
}
return wasmPath, nil
+1 -1
View File
@@ -228,7 +228,7 @@ func (c *Client) Check(ctx context.Context, pName, pVersion, hash string) error
return nil
}
return fmt.Errorf("plugin integrity check failed")
return errors.New("plugin integrity check failed")
}
// Unzip unzip a plugin archive.