mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
feat(libhelm): allow passing optional env and http client [EE-5252] (#8758)
This commit is contained in:
parent
a7474188b9
commit
7a8a20e0cc
29 changed files with 161 additions and 52 deletions
|
@ -37,7 +37,7 @@ func Test_ValidateHelmRepositoryURL(t *testing.T) {
|
|||
func(tc testCase) {
|
||||
t.Run(tc.name, func(t *testing.T) {
|
||||
t.Parallel()
|
||||
err := ValidateHelmRepositoryURL(tc.url)
|
||||
err := ValidateHelmRepositoryURL(tc.url, nil)
|
||||
if tc.invalid {
|
||||
is.Errorf(err, "error expected: %s", tc.url)
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue